Add Function fields on Product from Template
issue5087 review23611002
This commit is contained in:
1 parent
f249de1a30
commit
a42ad58201
2 files changed
+6
-4
No files matched your search
+1
-1
@@ -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']
|
||||
|
||||
|
||||
@@ -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>
|
||||
Reference in new issue
Block a user