← Back to team overview

openerp-india team mailing list archive

[Bug 1036055] [NEW] [6.1] account invoice creation description error / performance problem

 

Public bug reported:

sale, sale.py
account, account_invoice.py

When you create a sale order the vals for account_invoice_line.note is
the product.description. We believe this should use the
product.description_sale. The description is the extended product
description while the appropriately termed "sale description" is a short
description of the product. Our clients were getting invoices that had
paragraphs for each product of description.

In account_invoice.py it does the same thing. We believe this is a bug.
There is a second piece to the bug. When product.description is used and
it is of considerable size, there is an unusual but serious performance
impact. A server log error is generated about an out of bounds error due
to the text size and the cpu on OpenERP app server goes to 100%. It does
not release. This is very concerning to see the high cpu usage and no
release as if it is caught in some kind of rml generate infinite loop

** 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/1036055

Title:
  [6.1] account invoice creation description error / performance problem

Status in OpenERP Addons (modules):
  New

Bug description:
  sale, sale.py
  account, account_invoice.py

  When you create a sale order the vals for account_invoice_line.note is
  the product.description. We believe this should use the
  product.description_sale. The description is the extended product
  description while the appropriately termed "sale description" is a
  short description of the product. Our clients were getting invoices
  that had paragraphs for each product of description.

  In account_invoice.py it does the same thing. We believe this is a
  bug. There is a second piece to the bug. When product.description is
  used and it is of considerable size, there is an unusual but serious
  performance impact. A server log error is generated about an out of
  bounds error due to the text size and the cpu on OpenERP app server
  goes to 100%. It does not release. This is very concerning to see the
  high cpu usage and no release as if it is caught in some kind of rml
  generate infinite loop

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


Follow ups

References