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

Problem with tax on invoice line item. m2m problem? #19

Open
michafn opened this issue Jun 27, 2019 · 0 comments
Open

Problem with tax on invoice line item. m2m problem? #19

michafn opened this issue Jun 27, 2019 · 0 comments

Comments

@michafn
Copy link

michafn commented Jun 27, 2019

I am trying to add an invoice position with tax. This does not work no matter how i try. I am passing an array of line_items such as:

{ 'account_id': 162, 'name': "product a", 'quantity': 1, 'price_unit': 17,'invoice_line_tax_ids':[6, 0, [12]],'product_id':1}

this should add the tax with id=12 to the line item. However this does not work. No tax is added. Any hints? Could this be a problem of m2m? invoice_line_tax_ids is a m2m field.

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