commission
commission copied to clipboard
[17.0][IMP] commission: Add new settlement period (All pending records) to settle in only one settlement
Missing commit https://github.com/OCA/commission/pull/519/commits/10517822e6011212c2e151a6d32b4e09ee1144d0 from 15.0
cc @Tecnativa
ping @victoralmau @CarlosRoca13
Hi @pedrobaeza, some modules you are maintaining are being modified, check this out!
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.
@sergio-teruel please fix the fw-port for merging it.
Not enough yet
the repo is weird
Well, the error seems clear that has to do with how to do a refund:
2024-09-26 09:06:27,009 244 INFO odoo odoo.addons.sale_commission.tests.test_sale_commission: Starting TestSaleCommission.test_invoice_full_refund ...
2024-09-26 09:06:27,342 244 INFO odoo odoo.addons.sale_commission.tests.test_sale_commission: ======================================================================
2024-09-26 09:06:27,342 244 ERROR odoo odoo.addons.sale_commission.tests.test_sale_commission: FAIL: TestSaleCommission.test_invoice_full_refund
Traceback (most recent call last):
File "/__w/commission/commission/account_commission/tests/test_account_commission.py", line 610, in test_invoice_full_refund
self.assertEqual(2, len(settlements.line_ids))
AssertionError: 2 != 0
Thera is a lot of commits from v16 missed
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.