Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to calculate a special tax on shipping costs.
Someone purchased two products: one product with 6% taxes and one with 21%
- Product one is 7,50 with 6% tax included
- Product two is 2,50 with 21% tax included
Total amount is 10.00 euro with tax included
- So 75% of the products are taxed with 6% tax
- and 25% of the producs are taxed with 21% tax
Shipping costs are 3,50 with tax included, but: 75% of 3,50 needs to be taxed with 6% tax and 25% of 3,50 with 21%tax
How do I do this?
Create a tax code (new and specific to your case) where the calculation will result from a python formula
Code Python (TVA Incl)
result = ((price_unit*0.75*0.06) + (price_unit*0.25*0.21))
where price_unit is the price of the product "Shipping to be invoiced" (to be created in your system)
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/24/14, 11:18 AM|
|Seen: 1374 times|
|Last updated: 3/16/15, 8:10 AM|