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..
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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..
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)]}),
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
3
июл. 25
|
1801 | |||
|
2
нояб. 25
|
2456 | |||
|
1
окт. 25
|
641 | |||
|
2
окт. 25
|
689 | |||
|
3
окт. 25
|
799 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Can you please post the source of your modifications?