Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3407 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
lug 19
2790
2
apr 16
5459
2
ago 25
3324
0
mag 20
3746
1
dic 19
4531