跳至內容
選單
此問題已被標幟
2 回覆
3596 瀏覽次數

hello 


i want to know if there is a way to change the salesperson in invoice even after it confirmed in odoo 10 ?


without deleting or canceling the invoice  

頭像
捨棄
最佳答案

Hi ,

As Mohammed Amal told , it is declared as readonly field in the states other than the draft state. To achieve what you are looking for, you may have to edit and remove the readonly attribute from the corresponding  python file in the original code or you have to code a custom module, so that you can redefine the same field without the readonly attribute.

Thank you

頭像
捨棄
最佳答案

In the python file it is declared as readonly for all states other than draft.

So I think you can not edit it once you validate an invoice

頭像
捨棄