[account] CPU timeouts when editing a large journal entry

Bug #1003420 reported by James Jesudason
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Web Team

Bug Description

We have been encountering a lot of CPU timeouts when editing a journal entry that has a lot of journal items in it (over 50).

When a journal entry is edited and then saved, the validation is processed for every journal item (even ones that have not been modified). This can be seen by creating a journal entry that has a lot, say 100, journal items. Then editing the journal entry and adding an additional journal item.

Performance can be improved a lot by only performing full validation on any journal items that have been added or edited, and not re-processing the existing unchanged journal items. Alternatively, ensuring that the journal item validation is triggered as each journal item is entered/edited and saved (instead of waiting for the whole journal entry to be saved).

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
James Jesudason (jamesj) wrote :

This issue is mainly a problem with the web client. If you test functionality on the GTK client then you find that a large journal entry can be edited and saved fairly quickly. However, when doing the same change in the web client this can cause a long processing time and CPU timeouts.

Revision history for this message
James Jesudason (jamesj) wrote :

Any update on this?

Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Wishlist
status: New → Confirmed
no longer affects: openobject-addons
Revision history for this message
Ajit (alessandro-domanico) wrote :

Any update on this?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.