Hi there
Currently I am fighting to show a blank new tab in Products > Variant.
product.xml
<?xml version="1.0"?>
<tryton>
<data>
<record model="ir.ui.view" id="product_view_form">
<field name="model">product.product</field>
<field name="inherit" ref="product.product_view_form"/>
<field name="name">product_form</field>
</record>
</tryton>
product_form.xml
<?xml version="1.0"?>
<data>
<xpath expr="/form/notebook/page[@id='general']" position="after">
<page name="cross_selling" string="Cross Selling">
</page>
</xpath>
</data>
product.py
from trytond.model import fields, ModelSQL, ModelView
from trytond.pool import PoolMeta
class Product(metaclass=PoolMeta):
__name__ = 'product.product'
tryton.cfg
[tryton]
version=7.8.0
depends:
ir
product
xml:
product.xml
[register]
model:
product.Product
What do I miss? As first step I just want to show a new tab without fields. For sure fields will follow.
Thanks for any hints
q