openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #03392
Re: [Merge] lp:~openerp-dev/openobject-addons/trunk-bug-715470-ksa into lp:openobject-addons
Review: Needs Fixing
1. calculate the margin on sale order line by considerint qty,discount,uos_qty as like:
round((line.price_unit*line.product_uos_qty*(100.0-line.discount)/100.0) -(line.product_id.standard_price*line.product_uos_qty), 2)
2. put margin field on sale order line view if its necessary and if it is then put it after cost price.
thanks,
mra
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-715470-ksa/+merge/51075
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-715470-ksa.
References