Is there any way to disable autofill of Expected Arrival?
We want to manually and required to input the dates of this field.
Is there any way to disable autofill of Expected Arrival?
We want to manually and required to input the dates of this field.
Hello Anton,
To achieve this functionality you can modify purchase order odoo-base method,
//Code in Comment//
Hope this Helps,
If you need any help in customization feel free to contact us.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Code :
def _compute_date_planned(self):
for order in self:
dates_list = order.order_line.filtered(lambda x: not x.display_type and x.date_planned).mapped(
'date_planned')
if (dates_list and not order.date_planned) or not dates_list:
order.date_planned = False
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
0
apr. 26
|
8 | |||
|
0
apr. 26
|
20 | |||
|
3
iul. 25
|
4942 | |||
|
1
iun. 25
|
8076 | |||
|
2
mai 25
|
4504 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.