Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3573 Vistas

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  

Avatar
Descartar
Mejor respuesta

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

Avatar
Descartar
Mejor respuesta

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

Avatar
Descartar