← Back to team overview

openerp-india team mailing list archive

[Bug 1003420] [NEW] [account] CPU timeouts when editing a large journal entry

 

Public bug reported:

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).

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1003420

Title:
  [account] CPU timeouts when editing a large journal entry

Status in OpenERP Addons (modules):
  New

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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1003420/+subscriptions


Follow ups

References