model of products
This commit is contained in:
parent
b766a9ceda
commit
48ef146c44
@ -2,13 +2,14 @@
|
|||||||
# this repository contains the full copyright notices and license terms.
|
# this repository contains the full copyright notices and license terms.
|
||||||
|
|
||||||
from trytond.pool import Pool
|
from trytond.pool import Pool
|
||||||
from . import party, product, maintenance
|
from . import party, product, configuration, maintenance
|
||||||
|
|
||||||
__all__ = ['register']
|
__all__ = ['register']
|
||||||
|
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
Pool.register(
|
Pool.register(
|
||||||
|
configuration.Configuration,
|
||||||
party.Address,
|
party.Address,
|
||||||
party.Party,
|
party.Party,
|
||||||
product.Template,
|
product.Template,
|
||||||
|
20
product.xml
20
product.xml
@ -13,15 +13,15 @@
|
|||||||
<field name="inherit" ref="product.template_view_tree"/>
|
<field name="inherit" ref="product.template_view_tree"/>
|
||||||
<field name="name">template_tree</field>
|
<field name="name">template_tree</field>
|
||||||
</record>
|
</record>
|
||||||
<!-- <record model="ir.ui.view" id="pattern_view_form"> -->
|
<record model="ir.ui.view" id="pattern_view_form">
|
||||||
<!-- <field name="model">optical_equipment.product_pattern</field> -->
|
<field name="model">optical_equipment.product_pattern</field>
|
||||||
<!-- <field name="type">form</field> -->
|
<field name="type">form</field>
|
||||||
<!-- <field name="name">pattern_form</field> -->
|
<field name="name">pattern_form</field>
|
||||||
<!-- </record> -->
|
</record>
|
||||||
<!-- <record model="ir.ui.view" id="pattern_view_tree"> -->
|
<record model="ir.ui.view" id="pattern_view_tree">
|
||||||
<!-- <field name="model">optical_equipment.product_pattern</field> -->
|
<field name="model">optical_equipment.product_pattern</field>
|
||||||
<!-- <field name="type">tree</field> -->
|
<field name="type">tree</field>
|
||||||
<!-- <field name="name">pattern_tree</field> -->
|
<field name="name">pattern_tree</field>
|
||||||
<!-- </record> -->
|
</record>
|
||||||
</data>
|
</data>
|
||||||
</tryton>
|
</tryton>
|
||||||
|
@ -8,6 +8,8 @@ depends:
|
|||||||
product_image
|
product_image
|
||||||
product_measurements
|
product_measurements
|
||||||
xml:
|
xml:
|
||||||
|
configuration.xml
|
||||||
|
equipment.xml
|
||||||
party.xml
|
party.xml
|
||||||
uom.xml
|
uom.xml
|
||||||
product.xml
|
product.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user