Add Function fields on Product from Template

issue5087
review23611002
This commit is contained in:
Cédric Krier committed 2015-12-31 16:03:33 +01:00
1 parent f249de1a30
commit a42ad58201
2 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ from trytond.pyson import Eval, Bool, If, Id
from trytond.pool import Pool
from trytond.transaction import Transaction
from trytond.modules.product import price_digits
from trytond.modules.product import price_digits, TemplateFunction
__all__ = ['Production', 'AssignFailed', 'Assign']
+5 -3
View File
@@ -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="/form/field[@name='description']" position="after">
<field name="boms" colspan="6"
view_ids="production.product-bom_view_list_sequence"/>
<xpath expr="/form/notebook" position="inside">
<page name="boms">
<field name="boms" colspan="4"
view_ids="production.product-bom_view_list_sequence"/>
</page>
</xpath>
</data>