Skip to content

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

Description

@michafn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions