Sale Order - Add Product -> Sale Description | Customer Invoice - Add Product -> Description

Bug #898076 reported by conexus.at
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 3

Bug Description

Hello,

If you create a Sale Order and add a Product, the Sale Description of the Product is added to the Sale Order Line.
If you create an Invoice out of the Sale Order, the Notes of the Invoice Line is created out of the Notes from the Sale Order Line which is fine.

But if you create a Customer Invoice from Scratch and add a Product, then the Description and not the Sale Description is used for the Notes on the Invoice Line.

I would like to know if this is the intended behaviour?
Wouldn't it make more sense for the most use cases if the Sale Description would be used instead of the Description?

Thanks!

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

Hello,

I have checked your bug report, But I am not able to get you exactly where you have faced the problem.

So Would you please elaborate more on this or provide the precious steps on this.

Thanks and waiting for your reply!

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
conexus.at (conexus.at) wrote :

Hello,

In Sale.py
   def product_id_change
      result['notes'] = product_obj.description_sale
The Sale Description Field of the Product is used, and if an Invoice is created out of the Sale Order, the Note Field of the Sale Order Line is used.

New Customer Invoice from Scratch:
 In Invoice.py
     def product_id_change
          result['note'] = res.description
The Description Field of the Product is used, no matter if the Invoice is of type out_invoice or in_invoice.

My Question is, wouldn't it make more sense to use the description_sale Field of a Product, if the Invoice Type is out_invoice?

Because as it is right now you'll get different Notes, depending on if you have at first created a Sale Order (description_sale), or you skipped the Sale Order and created an Invoice from Scratch (description).

with kind regards,

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello,

Yes I am agree with you regarding the Description. It needed changes regarding the improvement what you suggested in bug specification. This is not bug it's improvement so we will consider this issue as future road map that's why currently I am setting this issue as wishlist .

Thanks.

summary: - 6.0.3 Sale Order - Add Product -> Sale Description | Customer Invoice -
- Add Product -> Description
+ Sale Order - Add Product -> Sale Description | Customer Invoice - Add
+ Product -> Description
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Wishlist
status: Incomplete → Confirmed
Revision history for this message
conexus.at (conexus.at) wrote :

Thank you!

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.