How tow solve this error: "View inheritance may not use attribute 'string' as a selector."
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">