mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: Set invoice_user_id field with Form() to apply the correct values of other fields (team_id for example).
TT39934
This commit is contained in:
@@ -309,6 +309,7 @@ class TestContract(TestContractBase):
|
||||
invoice_daily = self.contract._get_related_invoices()
|
||||
self.assertTrue(invoice_daily)
|
||||
self.assertEqual(self.contract.user_id, invoice_daily.user_id)
|
||||
self.assertEqual(self.contract.user_id, invoice_daily.invoice_user_id)
|
||||
|
||||
def test_contract_weekly_post_paid(self):
|
||||
recurring_next_date = to_date("2018-03-01")
|
||||
|
||||
Reference in New Issue
Block a user