Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3497 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
jul. 19
2898
2
abr. 16
5547
2
ago. 25
3423
0
mai. 20
3863
1
dez. 19
4661