diff --git a/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/AccountingTransactionModule_getM9AccountingTransactionLineList.xml b/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/AccountingTransactionModule_getM9AccountingTransactionLineList.xml index 2ea26dd1d8fe7bca9b078949240f297392217a0a..c52ecc0b98b00272c7a9c18b9deeabf194c0b081 100644 --- a/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/AccountingTransactionModule_getM9AccountingTransactionLineList.xml +++ b/bt5/erp5_accounting_l10n_fr_m9/SkinTemplateItem/portal_skins/erp5_accounting_l10n_fr_m9/AccountingTransactionModule_getM9AccountingTransactionLineList.xml @@ -130,7 +130,7 @@ for brain in simtool.getMovementHistoryList(\n date=brain.date,\n causality_title="\\n".join(transaction.getCausalityTitleList() or []) ,\n debit=max(brain.total_price, 0),\n - credit=max(-brain.total_price, 0), )\n + credit=max(-(brain.total_price or 0), 0), )\n line_list.append(obj)\n \n if brain.node_relative_url:\n