← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Thank you Olivier for the answer

I will need to check the solution, but in which module do we find the
tax included feature? account_tax_include?

In my opinion, if it is the same logic as the former module, it covers
only partially the need, if you mix products with tax included or not
included (because you work both with companies and individuals), you
have prices which are not consistent in your system. You have to adapt
the reports.. and so on. 

I think there could be an easier way of managing this issue.

Best regards

Hervé


________________________________________________________________________

  Hervé PROUST 
  Directeur Associé
Bureau :     +212 (0)522 23 54 44
Mobile Maroc : +212 (0) 670 76 83 67
Mobile France : +33 (0) 6 61 41 50
58 

10, rue Ibnou Al Arif
20 100 Casablanca - Maroc
hproust@xxxxxxxxxxxx 
www.kazacube.com


-------- Message initial --------
De: Olivier Dony (OpenERP) <674405@xxxxxxxxxxxxxxxxxx>
Reply-to: Bug 674405 <674405@xxxxxxxxxxxxxxxxxx>
À: hproust@xxxxxxxxxxxx
Sujet: [Bug 674405] Re: V6.0-RC1-Decimal_precision could be used to
manage rounded all tax included product price
Date: Fri, 12 Nov 2010 11:38:07 -0000


Hervé,

As you mentioned in v5 you could use the various *_tax_include modules to achieve what you want. 
In v6 this is part of the core addons, so all you need is to use the tax included features, by marking your 5.5% tax as included in prices (just tick the box on the tax definition)


** Attachment added: "logo_kazacube_mini_225.png"
   https://bugs.launchpad.net/bugs/674405/+attachment/1734344/+files/logo_kazacube_mini_225.png

-- 
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