mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP][10.0] contract: Add report + send by mail (#86)
* [IMP][9.0] contract: Add report + send by mail * Update translation and rename contract report * Changes requested and translation updated
This commit is contained in:
committed by
Christopher Rogos
parent
2323ed112a
commit
8dce5c58af
@@ -155,3 +155,7 @@ class TestContract(TransactionCase):
|
||||
}
|
||||
del self.template_vals['name']
|
||||
self.assertDictEqual(res, self.template_vals)
|
||||
|
||||
def test_send_mail_contract(self):
|
||||
result = self.contract.action_contract_send()
|
||||
self.assertEqual(result['res_model'], 'mail.compose.message')
|
||||
|
||||
Reference in New Issue
Block a user