bemade_multiple_billing_contacts fixes for tests, but retiring module.
This commit is contained in:
parent
26f973c3b5
commit
dcb6384c85
2 changed files with 3 additions and 2 deletions
|
|
@ -29,6 +29,6 @@ class AccountMove(models.Model):
|
|||
initial_subscribers = self.message_partner_ids.ids
|
||||
final_subscribers = initial_subscribers + self.billing_contacts.ids
|
||||
posted = super()._post()
|
||||
self.message_unsubscribe([s.id for s in self.message_partner_ids if s not in initial_subscribers])
|
||||
self.message_unsubscribe([s.id for s in self.message_partner_ids if s.id not in initial_subscribers])
|
||||
self.message_subscribe(final_subscribers)
|
||||
return posted
|
||||
|
|
|
|||
|
|
@ -63,7 +63,8 @@ class TestBillingContacts(TransactionCase):
|
|||
'price_unit': cls.product.list_price,
|
||||
'order_id': cls.sale_order.id,
|
||||
'tax_id': False,
|
||||
'qty_delivered_manual': 2,
|
||||
'qty_delivered': 2,
|
||||
'qty_delivered_method': 'manual',
|
||||
})
|
||||
|
||||
def test_billing_contacts_structure(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue