From f9acf68a72ffe0ffd1302c418e429e777c51d74a Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Mon, 22 Jun 2009 15:41:28 +0000 Subject: [PATCH] price_currency is also needed on the paysheet git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27751 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_payroll/PaySheetTransaction_applyModel.xml | 1 + bt5/erp5_payroll/bt/revision | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_applyModel.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_applyModel.xml index 5a49557fc1..f9d3d16bdf 100644 --- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_applyModel.xml +++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_applyModel.xml @@ -83,6 +83,7 @@ for category in category_list:\n price_currency = model.getModelIneritanceEffectiveProperty(paysheet, \'price_currency\')\n if price_currency:\n new_category_dict[\'resource\'] = price_currency\n + new_category_dict[\'price_currency\'] = price_currency\n \n def copyPaymentCondition(paysheet, model):\n filter_dict = {\'portal_type\': \'Payment Condition\'}\n diff --git a/bt5/erp5_payroll/bt/revision b/bt5/erp5_payroll/bt/revision index b1eab89dbc..941d0e591f 100644 --- a/bt5/erp5_payroll/bt/revision +++ b/bt5/erp5_payroll/bt/revision @@ -1 +1 @@ -477 \ No newline at end of file +479 \ No newline at end of file -- 2.30.9