diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getListBoxColumnList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getListBoxColumnList.xml index ad32074aae11657b7775cbcc7985ac8ca1dad979..b9a3f1e3ce0c593b9dfccdfee2d7a72e68a6e1cf 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getListBoxColumnList.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getListBoxColumnList.xml @@ -66,10 +66,10 @@ payment_dict = {None: 1}\n for line in context.getMovementList():\n if source:\n section_dict[line.getDestinationSection()] = 1\n - payment_dict[line.getDestinationPayment()] = 1\n + payment_dict[line.getSourcePayment()] = 1\n else:\n section_dict[line.getSourceSection()] = 1\n - payment_dict[line.getSourcePayment()] = 1\n + payment_dict[line.getDestinationPayment()] = 1\n \n if context.getSourcePayment() or context.getDestinationSection():\n min_payment_count = 2\n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 96e38be9135de76304454b1655c079f08cb12715..d1d06ad36a5841e8c06a90bd29707290d979cc2b 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -1110 \ No newline at end of file +1111 \ No newline at end of file