Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1531 Tampilan

Is there any way to disable autofill of Expected Arrival? 

We want to manually and required to input the dates of this field.


Avatar
Buang
Jawaban Terbai

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

Avatar
Buang

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

Post Terkait Replies Tampilan Aktivitas
3
Jul 25
2649
1
Jun 25
4137
2
Mei 25
2671
1
Mei 25
1722
1
Mar 25
3673