diff --git a/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml index a3328dd0c5343fdeddbc20f8846e5b3ee90a98ce..d292b9ca19ed384e1ed910ef5f8976544f1e3d87 100755 --- a/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml +++ b/bt5/erp5_accounting/PortalTypePropertySheetTemplateItem/property_sheet_list.xml @@ -2,7 +2,4 @@ <portal_type id="Cash Register"> <item>BankAccount</item> </portal_type> - <portal_type id="Sale Invoice Transaction"> - <item>TradeCondition</item> - </portal_type> </property_sheet_list> \ No newline at end of file diff --git a/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list b/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list index a23cf79701357746f772a2f73d1b4830822b6d90..9a3df4be886b11027dfb92678bc6ba38c835032d 100755 --- a/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list +++ b/bt5/erp5_accounting/bt/template_portal_type_property_sheet_list @@ -1,2 +1 @@ -Cash Register | BankAccount -Sale Invoice Transaction | TradeCondition \ No newline at end of file +Cash Register | BankAccount \ No newline at end of file diff --git a/product/ERP5/Document/Invoice.py b/product/ERP5/Document/Invoice.py index 97f10451eca70b5e9d6f778115139015cd08a38e..06057586169616d00e58540b9c883a018ef16726 100755 --- a/product/ERP5/Document/Invoice.py +++ b/product/ERP5/Document/Invoice.py @@ -56,6 +56,7 @@ class Invoice(AccountingTransaction): , PropertySheet.Amount , PropertySheet.Reference , PropertySheet.PaymentCondition + , PropertySheet.TradeCondition , PropertySheet.ValueAddedTax , PropertySheet.EcoTax , PropertySheet.CopyrightTax