← Back to team overview

credativ team mailing list archive

[Bug 898076] Re: 6.0.3 Sale Order - Add Product -> Sale Description | Customer Invoice - Add Product -> Description

 

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,

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

Title:
  6.0.3 Sale Order - Add Product -> Sale Description | Customer Invoice
  - Add Product -> Description

Status in OpenERP Addons (modules):
  Incomplete

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!

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


References