This question has been flagged

Hi I am trying to create an invoice of a partial order, but the create invoice/refund button did not show up.

I then changed the attributes of the button to:

attrs="{'invisible': ['|','|',('state','<>','done'),
    ('invoice_state','=','invoiced'),('invoice_state','=','visible')]}"

So I changed the invoice_state to visible which made the button show up.

The problem is that when I click the button i get an error:

This picking list does not require invoicing.

The invoice control status is: "not applicable" but should be: "To be invoiced" how do I change that?

 

Avatar
Discard