From a42ad5820132e8ed6c16bb913d3ddfb32d7dcf77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 31 Dec 2015 16:03:33 +0100 Subject: [PATCH] Add Function fields on Product from Template issue5087 review23611002 --- production.py | 2 +- view/product_form.xml | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/production.py b/production.py index 73ac8a0e95..7b2ddb7290 100644 --- a/production.py +++ b/production.py @@ -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'] diff --git a/view/product_form.xml b/view/product_form.xml index 1e4a697e78..f23d9c2713 100644 --- a/view/product_form.xml +++ b/view/product_form.xml @@ -2,8 +2,10 @@ - - + + + +