Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate Tax line by line option is not working on the Customer Invoice. #9

Open
amkarthik opened this issue Jan 1, 2019 · 0 comments

Comments

@amkarthik
Copy link

@fhe-odoo
I see that the option to calculate the taxes on lines is set to Invisible.
https://github.com/fhe-odoo/avatax_connector/blob/eecce5a4e14e7c93a851491172bebbf1a35d73c4/avatax_connector/views/avalara_salestax_view.xml#L51
May I know the reason that why we are not allowing users to enable that?
We need this for one of our customer.

Even though, I customized the code and enabled the option.
It works good for Sales Order.
But in the customer Invoice, tax on lines are not calculated. But the global taxes are calculated.
I reviewed the code. I guess that the problem relies in wrong method name.
Please see https://github.com/fhe-odoo/avatax_connector/blob/10.0/avatax_connector/models/account_invoice.py#L175
The method name has to be compute_taxes I guess.
Forgive me I am wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant