Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3855 Vizualizări

Hello every one,

I need to give taxes in sales quotation and sales order as a readonly field, i have given readonly  =True but itsn't working i even given readonly mode in state also is not working

 

Can any one help me...

Thanks in Advance..

Imagine profil
Abandonează

Can you please post the source of your modifications?

Cel mai bun răspuns

I think is not good to set tax field into readonly when you are in draft state. But you still want to do this you can change it directly in the sale_order.py file in sale module addons(line 687)

        'tax_id': fields.many2many('account.tax', 'sale_order_tax', 'order_line_id', 'tax_id', 'Taxes', readonly=True, states={'draft': [('readonly',True)]}),

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
iul. 25
1127
4
sept. 25
894
2
aug. 25
656
1
aug. 25
445
1
aug. 25
713