openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07915
[Bug 901801] Re: Missing invalidation function in sale_margin
Yes, I see that it works on OpenERP 6.1. I don't understand why it
works, because, when looking at the code, I would say that it shouldn't
work. But I guess there are some secrets of the invalidation function
that I'm not aware of or that the behavior of the invalidation functions
changed in OpenERP 6.1 compared to prior versions.
--
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/901801
Title:
Missing invalidation function in sale_margin
Status in OpenERP Addons (modules):
Invalid
Bug description:
On current addons-trunk (rev 5904), if you look at
sale_margin/sale_margin.py line 54, you see that the field 'margin' on
the object sale_order_line is store=True... but there is no
invalidation function !
This means that if you create a sale order, save it, then edit it
again and change the unit price/quantity/discount, it will not update
the margin field on the sale_order_line !
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/901801/+subscriptions
References