first commit
This commit is contained in:
10
modules/product_image/view/category_form.xml
Normal file
10
modules/product_image/view/category_form.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- 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" position="inside">
|
||||
<page name="images">
|
||||
<field name="images" colspan="4" mode="list-form,tree,form"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
20
modules/product_image/view/category_image_form.xml
Normal file
20
modules/product_image/view/category_image_form.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<field name="image" widget="image" height="200" width="200" xexpand="0" colspan="2"/>
|
||||
<group id="category" col="2" colspan="2" yalign="0" yexpand="0">
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
|
||||
<group colspan="2" col="-1" id="checkboxes">
|
||||
<!-- Add checkboxes here -->
|
||||
</group>
|
||||
|
||||
<label name="category"/>
|
||||
<field name="category"/>
|
||||
|
||||
<label name="description"/>
|
||||
<field name="description"/>
|
||||
</group>
|
||||
</form>
|
||||
8
modules/product_image/view/category_image_list.xml
Normal file
8
modules/product_image/view/category_image_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="category" expand="1"/>
|
||||
<field name="image" expand="2"/>
|
||||
<field name="description" expand="1" optional="1"/>
|
||||
</tree>
|
||||
8
modules/product_image/view/category_list.xml
Normal file
8
modules/product_image/view/category_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- 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="//field[@name='code']" position="inside">
|
||||
<prefix id="image" icon="image_url" icon_type="url" url_size="s"/>
|
||||
</xpath>
|
||||
</data>
|
||||
23
modules/product_image/view/image_form.xml
Normal file
23
modules/product_image/view/image_form.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<field name="image" widget="image" height="200" width="200" xexpand="0" colspan="2"/>
|
||||
<group id="product" col="2" colspan="2" yalign="0" yexpand="0">
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
|
||||
<group colspan="2" col="-1" id="checkboxes">
|
||||
<!-- Add checkboxes here -->
|
||||
</group>
|
||||
|
||||
<label name="template"/>
|
||||
<field name="template"/>
|
||||
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
|
||||
<label name="description"/>
|
||||
<field name="description"/>
|
||||
</group>
|
||||
</form>
|
||||
9
modules/product_image/view/image_list.xml
Normal file
9
modules/product_image/view/image_list.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="template" expand="1"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="image" expand="2"/>
|
||||
<field name="description" expand="1" optional="1"/>
|
||||
</tree>
|
||||
10
modules/product_image/view/template_form.xml
Normal file
10
modules/product_image/view/template_form.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- 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" position="inside">
|
||||
<page name="images">
|
||||
<field name="images" colspan="4" mode="list-form,tree,form"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/product_image/view/template_list.xml
Normal file
8
modules/product_image/view/template_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- 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="//field[@name='code']" position="inside">
|
||||
<prefix id="image" icon="image_url" icon_type="url" url_size="s"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user