Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3406 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
2790
2
abr. 16
5459
2
ago. 25
3324
0
mai. 20
3746
1
dez. 19
4531