Sale Order Line Items take old Products Description
Bug #654653 reported by
Julian Robbins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
JMA(Open ERP) |
Bug Description
Using Trunk from version 6.
To replicate
If you take an existing Product, change its Name and Description details.
Create a Sales Order, with a Sales Order Line of the above part. When you search for the above part, you see the updated Description fine; but when it is added to the Sale Order and saved, the Description is using the original Product description, not the newer one. This happens with GTK client and web client ...
Note previously, the Description field wasn't being updated either when used in a sales order form, but this appears to be ok now, but it does indicate that additional fields may have the same issue still.
Changed in openobject-addons: | |
assignee: | nobody → JMA(Open ERP) (jma-openerp) |
description: | updated |
To post a comment you must log in.
Hello Julian Robbins,
The onchange 'product_id_change' works as expected. get('product. product' ).name_ get(cr, uid, [product_obj.id], context= context) [0][1]
line 1067, sale.py
result['name'] = self.pool.
On the sale order line, select new product once you select the product the description gets updated.
However, if you change the description therein, it will show on the sale order line even after it is saved.
Let us know if I happen to miss out something.
Further if any issues, attach the screen-shots to trace out the problem.
Thanks.