Migrate package ownership to Fundación Un País Mejor
Publish Package / publish (push) Failing after 2m38s
Publish Package / publish (push) Failing after 2m38s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user