跳至内容
菜单
此问题已终结
3376 查看

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?

 

形象
丢弃
相关帖文 回复 查看 活动
2
7月 19
2761
2
4月 16
5435
1
6月 24
3288
0
5月 20
3697
1
12月 19
4484