This question has been flagged
1019 Views

I have tried all the solutions in the below link:

https://www\\\.odoo\\\.com/forum/help\\\-1/how\\\-to\\\-add\\\-new\\\-tab\\\-to\\\-module\\\-19050

https://www.odoo.com/forum/help-1/how-tow-solve-this-error-view-inheritance-may-not-use-attribute-string-as-a-selector-98147

I need to add the tab inside the notebook but the page only has string which you cannot use. 

I only get an error when i use @string, but the tab doesn't show up on the Job Position:



     
 


 
     
 


Avatar
Discard
Author

I tried:
<xpath expr="// [1]" position="after">
<page string="Website HTML">
<field name="website_description" options="{'collaborative': true}" attrs="{'invisible': [('state', '!=', 'recruit')]}"/>
</page>
</xpath>

<xpath expr="// notebook [last()]" position="inside">
<page string="Website HTML">
<field name="website_description" options="{'collaborative': true}" attrs="{'invisible': [('state', '!=', 'recruit')]}"/>
</page>
</xpath>