Use a dedicated page on product form for web shop fields

This commit is contained in:
Cédric Krier committed 2024-06-06 12:21:10 +02:00
1 parent a7d4ae446a
commit 30fa01a012
3 files changed
+11 -7

No files matched your search

@@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="//notebook/page[@id='customers']" position="inside">
<xpath expr="//notebook/page[@id='web_shop']" position="inside">
<field name="web_shops" colspan="4"/>
</xpath>
</data>
@@ -2,10 +2,12 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="//notebook/page[@id='customers']" position="inside">
<group name="web_shop_description" colspan="4" col="-1">
<field name="web_shop_description"/>
<field name="web_shop_description" string="Edit" widget="html" xexpand="0"/>
</group>
<xpath expr="//notebook" position="inside">
<page string="Web Shop" id="web_shop">
<group name="web_shop_description" colspan="4" col="-1">
<field name="web_shop_description"/>
<field name="web_shop_description" string="Edit" widget="html" xexpand="0"/>
</group>
</page>
</xpath>
</data>
@@ -2,8 +2,10 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="//page[@id='customers']" position="inside">
<xpath expr="//page[@id='web_shop']" position="inside">
<newline/>
<label name="shopify_uom"/>
<field name="shopify_uom"/>
<newline/>
</xpath>
</data>