How can we set tax % to a partner? [Closed]
The Question has been closedby
How can i change the balance amount? I trie to edit the code,but no change.
Payment also not changing. I tried to edit account_voucher, but no difference.
Is it possible to define tax & discount amount to a particular customer in openerp7. 0?
So what is the issue? Just override
_amount_all method in your module and in that method fetch discount and tax of selected customer and then deduct the total amount.
To override method of functional field in your module, you have to override those fields as well in your module. In that method fetch tax & discount from selected customer and then deduct tax, discount from total amount of sale order line.
It is possible to assign a default pricelist to a customer. On this pricelist, you specify the discount. So that part of your question is solved.
If you want to use a specific tax, you have to setup accounting> Part of the config is to create or specify which kind of bookkeeping you want to use (Dutch, German, etc). This will be taken into account when doing the calculation of the total for an order.
In order for the calculation to be correct, you have to specify as much as possible for a customer.
In The Netherlands, default tax = 21%, and if the customer is in The Netherlands, the tax of 21% will be calculated and added. If the customer is in the EU, and has a valid VAT, the tax is not calculated and added.
I hope this helps you a bit.
About This Community
|Asked: 5/1/13, 8:27 AM|
|Seen: 2060 times|
|Last updated: 3/16/15, 8:10 AM|