Is there any way to disable autofill of Expected Arrival?
We want to manually and required to input the dates of this field.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
3
de jul. 25
|
1879 | ||
|
1
de juny 25
|
2056 | ||
|
2
de maig 25
|
1867 | ||
|
1
de maig 25
|
1136 | ||
|
1
de març 25
|
3067 |