Skip to content

Commit

Permalink
Merge PR #1277 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by StefanRijnhart
  • Loading branch information
OCA-git-bot committed Jan 5, 2024
2 parents 4c67c22 + d85dc84 commit 5f3404d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mail_composer_cc_bcc/tests/test_mail_cc_bcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,12 @@ def open_mail_composer_form(self):

def open_invoice_mail_composer_form(self):
# Use form to populate data
for_name = [("name", "=", "INV/2023/00003")]
for_name = [("name", "like", "%INV/20__/00003")]
self.test_invoice = test_record = self.env["account.move"].search(for_name)
self.assertTrue(
self.test_invoice,
"Test setup did not succeeed. Invoice not found.",
)
ctx = {
"active_ids": test_record.ids,
"default_model": "account.move",
Expand Down

0 comments on commit 5f3404d

Please sign in to comment.