Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3572 Vizualizări

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  

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează