Migrate package ownership to Fundación Un País Mejor
Publish Package / publish (push) Failing after 2m38s

This commit is contained in:
José Arturo García
2026-08-14 17:07:58 -04:00
parent 7ba0d14dd6
commit 22c606a71e
13 changed files with 64 additions and 39 deletions
+8
View File
@@ -50,5 +50,13 @@ class AccountCreditNoteLogicTestCase(unittest.TestCase):
Invoice._credit_partial_compute_factor(
MockInvoice(), 'amount', None, Decimal('119'), 'total')
def test_fixed_amount_rejects_multiple_invoices(self):
with self.assertRaises(UserError):
Invoice.credit(
[MockInvoice(), MockInvoice()],
credit_mode='amount',
credit_amount=Decimal('10'),
credit_amount_basis='total')
del ModuleTestCase