mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract: Error in test_contract_invoice_followers
This commit is contained in:
committed by
Christopher Rogos
parent
b0e941de1e
commit
7cf5d4547c
@@ -539,7 +539,7 @@ class ContractContract(models.Model):
|
||||
|
||||
@api.model
|
||||
def _invoice_followers(self, invoices):
|
||||
invoice_create_subtype = self.sudo().env.ref(
|
||||
invoice_create_subtype = self.env.ref(
|
||||
"contract.mail_message_subtype_invoice_created"
|
||||
)
|
||||
for item in self:
|
||||
|
||||
Reference in New Issue
Block a user