← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 674405] Re: V6.0-RC1-Decimal_precision could be used to manage rounded all tax included product price

 

Hello,

Thank you for your suggestion! However this is unfortunately out of the scope of the current OpenERP release, so we cannot implement it.
Let's close this bug for now, for the sake of clarity in Launchpad, it can always be reopened later when we consider new features for future roadmaps.

Thank you for your understanding!

** Changed in: openobject-addons
   Importance: Undecided => Wishlist

** Changed in: openobject-addons
       Status: New => Won't Fix

-- 
V6.0-RC1-Decimal_precision could be used to manage rounded all tax included product price
https://bugs.launchpad.net/bugs/674405
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Won't Fix

Bug description:
Platform: Ubuntu 10.04-OpenERP 6-RC1
1) It is not possible to manage decimal_precision on list_price to make sure that all tax included price presented to customers will be correctly rounded
eg. I want the public price (all tax included) to be 2.40 ; VAT = 5.5% ; if list_price uses 2 digits, it is impossible to show 2.40 (either 2.27 => 2.39 or 2.28 => 2.41)

In V5, you need to use the sale_tax_included module. 

2) Proposal
- Change variable 'Sale Price' to 'Sale Price woTax' in product.py
Line 240 : 'list_price':
fields.float('Sale Price', digits_compute=dp.get_precision('Sale Price woTax'), help="Base price for computing the customer price. Sometimes called the catalog price."),
Line 425 & 426 :
'price': fields.function(_product_price, method=True, type='float', string='Pricelist', digits_compute=dp.get_precision('Sale Price woTax')),
'lst_price' : fields.function(_product_lst_price, method=True, type='float', string='List Price', digits_compute=dp.get_precision('Sale Price woTax')),

- add a variable in decimal_precision: Usage : Sale Price woTax ; Digits : x





References