custom price in a sale.order.line gets lost
Bug #745795 reported by
Leonardo Pistone
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Wishlist
|
OpenERP Publisher's Warranty Team |
Bug Description
Observed in OE 6.0 and trunk rev 4613.
To reproduce: create a new SO, new sale.order.line, enter a custom price. Then save and change the quantity of that product. Unit price is reset to the standard unit price (from the pricelist of whatever).
Possible solution: the uom_qty field shouldn't have on_change (product_
Changed in openobject-addons: | |
status: | New → Invalid |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in openobject-addons: | |
assignee: | OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP Publisher's Warranty Team (openerp-opw) |
status: | Invalid → New |
tags: | added: maintenance |
To post a comment you must log in.
Hello Leonardo,
Yes you are right that when we apply custom price in sale line it does not reflected with the changed quantity as it is consider the default unit price due to the on change method.
The on change written for setting different values according to product for fast encoding of sale lines. So if you want to overcome this problem then you have to customize the unit price every time you wanted to change the quantity.
Thanks.