跳至内容
菜单
此问题已终结
2 回复
1360 查看

Dear all,

It is possible to modify the reception date on a purchase order.

For example, we received the goods on June, 1st and we do the reception in Odoo on June, 16th.

It is possible to have a reception date on June, 1st ?


Many thanks

Best regards

形象
丢弃
编写者 最佳答案

many thanks

形象
丢弃
最佳答案

Hello Valliet,

Yes, technically it is possible to modify reception date on purchase order.

purchase order has effective_date (Arrival Date or Reception Date) as compute fields based on purchase receipt's date_done (Effective Date).

There are mainly 2 ways to modify date. 

1) we can trigger plsql query in data base to update date.

update stock_picking set effective_date ='2024-06-01' where id= 'ID';

similarly update stock.move.line and purchase order's date

2) we can write server action to update specific purchase order's Reception date



click on "Create Contextual Action" button to allow option under action in purchase order



click on update date_done action in receipt


Thanks & Regards,


CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209

Email: info@candidroot.com

形象
丢弃