Spurious product description on invoice lines

Bug #1205717 reported by Virgil Dupras
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
OpenERP R&D Addons Team 3

Bug Description

When adding a product that has a description to an invoice, the invoice line's "Description" field ends up with both the product name and the description, which is often way too verbose for an invoice line. I was wondering if this behavior was intentional, but when you look at the behavior for a Sale Order or a Purchase Order, you see that adding a product to one of them adds only the product's name to the SO/PO line's description field.

Steps to reproduce:

1) Create a new DB with demo data
2) Install the account module
3) Create a new invoice
4) Add a new invoice line
5) Select "HDD-DEM" in the product field

Result:

Description field is "[HDD-DEM] HDD on Demand On demand hard-disk having capacity based on requirement."

Expected:

Description field is "[HDD-DEM] HDD on Demand"

Using v7.0, addons r9324

Related branches

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

We have used the supplier description for PO as well quotation description for SO. Same as we have to put the invoice description and we can use those description on invoice rather than using the product characteristic .

Thank you!

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Mohammed Shekha(Open ERP) (msh-openerp) wrote :

Hello Virgil Dupras,

Invoice field should have product's quotation description or supplier description, which has been fixed in attached branch:
lp:~openerp-dev/openobject-addons/7.0-bug-1205717-msh

There is no bug in SO and PO, the SO and PO line's product_id_change is behaving as it should, why you might getting only product code and product name is because your product "HDD on Demand" not having Quotation description or Supplier description, the expected behavior is to have Quotation description on Sale Order line's description field and Supplier description in Purchase order line's description field.

The issue is basically in Invoice Line which I have fixed above branch.

Hope this will help.

Regards,
Mohammed.

Changed in openobject-addons:
status: Confirmed → Fix Committed
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.