invoice state packing read only false

Asked by Alberto Garcia (Factor Libre)

Are some problem if I changed the field invoice_state of stock picking to readonly False.

If I changed this to can change state.

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Naresh(OpenERP)
Solved:
Last query:
Last reply:
Revision history for this message
Best Naresh(OpenERP) (nch-openerp) said :
#1

Hello Alberto,
changing the field invoice_state to readonly False will not make any difference in functional or technical execution. but it is kept readonly because this field is changed through execution of the code. Like when you create picking it will have a value of 2binvoiced then when you create invoice of that picking it will be changed to invoiced. The user does not have to change it. That field is just for information showing the state of the picking. And is calculated as and when you change the states.

Revision history for this message
Alberto Garcia (Factor Libre) (agarcia-flibre) said :
#2

Thanks nch(OpenERP), that solved my question.