When i try to load my module on my odoo server, i've this :
View inheritance may not use attribute 'string' as a selector.
I'm pratically sure it comes from this line, maybe because of the string but i don't know how to solve it :
<button name="action_cancel_draft" states="cancel,sent,confirmed" string="Set to Draft" type="object" position="before">
I got the same error while migrating one customized module from odoo version 8 to odoo version 9.because in 8 i used <xpath expr="//notebook/page[@string='Information']" position="after"> like i solve this with replacing <xpath expr="//notebook[last()]" position="inside">
definately you should use notebook in view may be,
if you need help conatct:- firstname.lastname@example.org
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/23/16, 9:06 AM|
|Seen: 940 times|
|Last updated: 2/25/16, 8:49 AM|