invoice state packing read only false

Asked by Alberto Garcia (Factor Libre) on 2009-05-06

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:
2009-06-15
Last query:
2009-06-15
Last reply:
2009-05-07
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.

Thanks nch(OpenERP), that solved my question.