Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
3383 มุมมอง

Hi All

I found this code, in  :addons/sales_order_dates/models/sale_order.py 

And changed the below code to "False" from "True" as I thought it was allow me to be able to change the Date once the sales order is done. It doesn't work; Any way to do this? The only module I found was for odoo 8.0

'requested_date': fields.datetime('Requested Date', readonly=False, states={'draft': [('readonly', False)],  'sent': [('readonly', False)]}, copy=False)
อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Actually, this does work! You just need to restart the server, for some reason. 


Thought I'd say so. 

อวตาร
ละทิ้ง

Any changes to Python files will not be seen by the server until a reboot. That's just how Python works.

คำตอบที่ดีที่สุด

helped me as well! thanks! 

อวตาร
ละทิ้ง