openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24881
[Bug 1218212] [NEW] [7.0/trunk] sale line margin is not computed if no product is selected
Public bug reported:
addons revno: 9358
Steps to reproduce:
1. Install sale_margin module
2. Create sale order line with Product, Cost Price and Price fields set
3. Save sale order and observe Margin field correctly computed
4. Open the same line and remove Product field (leaving Cost Price and Price fields as they were)
5. Save sale order and observe Margin field NOT computing at all
It turns out, if no product is selected, the system just ignores margin,
although values for Cost Price and Price which are mandatory to compute
margin is present.
Please see patch attached
** Affects: openobject-addons
Importance: Undecided
Status: New
** Patch added: "bug.patch"
https://bugs.launchpad.net/bugs/1218212/+attachment/3792555/+files/bug.patch
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1218212
Title:
[7.0/trunk] sale line margin is not computed if no product is selected
Status in OpenERP Addons (modules):
New
Bug description:
addons revno: 9358
Steps to reproduce:
1. Install sale_margin module
2. Create sale order line with Product, Cost Price and Price fields set
3. Save sale order and observe Margin field correctly computed
4. Open the same line and remove Product field (leaving Cost Price and Price fields as they were)
5. Save sale order and observe Margin field NOT computing at all
It turns out, if no product is selected, the system just ignores
margin, although values for Cost Price and Price which are mandatory
to compute margin is present.
Please see patch attached
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1218212/+subscriptions
Follow ups
References