mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX+IMP] contract: Make template to work + other refinements
- Contract modification subtype non default - Hybrid template between mail.template Jinja + inheritable QWeb - QWeb element qualified for easing inheritance - Translations updated - _modification_mail_send multi-record - Tests resilience
This commit is contained in:
@@ -163,7 +163,7 @@ class TestContract(TestContractBase):
|
||||
)
|
||||
]
|
||||
})
|
||||
self.assertEqual(len(self.contract.message_partner_ids.ids), 2)
|
||||
self.assertGreaterEqual(len(self.contract.message_partner_ids), 2)
|
||||
mail_messages = self.env["mail.message"].search([
|
||||
("model", "=", "contract.contract"),
|
||||
("res_id", "=", self.contract.id),
|
||||
|
||||
Reference in New Issue
Block a user