Skip to content

Commit

Permalink
[IMP] purchase_force_invoiced: Add filter by company to avoid errors …
Browse files Browse the repository at this point in the history
…with inconsistent data
  • Loading branch information
victoralmau committed Nov 30, 2022
1 parent 407f0d7 commit 87b9ea4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def setUp(self):
"user_type_id",
"=",
self.env.ref("account.data_account_type_revenue").id,
)
),
("company_id", "=", self.env.company.id),
],
limit=1,
)
Expand Down

0 comments on commit 87b9ea4

Please sign in to comment.