Skip to content

Commit

Permalink
Merge PR OCA#1539 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by rousseldenis
  • Loading branch information
OCA-git-bot committed Apr 17, 2024
2 parents 54074c0 + 29b45d4 commit f3031fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stock_grn/models/stock_grn.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class StockGrn(models.Model):
"res.company",
string="Company",
change_default=True,
default=lambda self: self.env["res.company"]._company_default_get("stock.grn"),
default=lambda self: self.env.company,
required=True,
readonly=True,
)
Expand Down

0 comments on commit f3031fc

Please sign in to comment.