Valencia Rodrigues (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.0-opw-17325-vro into
lp:openobject-addons/6.0.
Requested reviews:
Jay Vora (OpenERP) (jvo-openerp)
Anup(OpenERP) (ach-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-17325-vro/+merge/74072
Hello,
The Cost Price(standard_price) of a product would derive its decimal precision
from 'Account' defined at Administration > Customization > Database Structure >
Decimal Accuracy.
It should infact be based on the value of 'Purchase Price'.
Hence this has been improved.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-17325-vro/+merge/74072
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-opw-17325-vro.
=== modified file 'product/product.py'
--- product/product.py 2011-07-22 06:39:24 +0000
+++ product/product.py 2011-09-05 10:39:24 +0000
@@ -273,7 +273,7 @@
'rental': fields.boolean('Can be Rent'),
'categ_id': fields.many2one('product.category','Category', required=True, change_default=True, domain="[('type','=','normal')]" ,help="Select category for the current product"),
'list_price': fields.float('Sale Price', digits_compute=dp.get_precision('Sale Price'), help="Base price for computing the customer price. Sometimes called the catalog price."),
- 'standard_price': fields.float('Cost Price', required=True, digits_compute=dp.get_precision('Account'), help="Product's cost for accounting stock valuation. It is the base price for the supplier price."),
+ 'standard_price': fields.float('Cost Price', required=True, digits_compute=dp.get_precision('Purchase Price'), help="Product's cost for accounting stock valuation. It is the base price for the supplier price."),
'volume': fields.float('Volume', help="The volume in m3."),
'weight': fields.float('Gross weight', help="The gross weight in Kg."),
'weight_net': fields.float('Net weight', help="The net weight in Kg."),
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp