Skip to content

Commit

Permalink
[FIX] purchase_sale_inter_company: typos in res.company, res.config.s…
Browse files Browse the repository at this point in the history
…ettings
  • Loading branch information
ntsirintanis committed Sep 11, 2024
1 parent ba93779 commit 90119b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions purchase_sale_inter_company/models/res_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class ResCompany(models.Model):
string="On sync picking failure",
default="raise",
help="Pick action to perform on sync picking failure",
)
sync_picking_state = fields.Boolean(
string="Sync the receipt state with the delivery state",
default=lambda p: p.sync_picking,
Expand Down
1 change: 1 addition & 0 deletions purchase_sale_inter_company/models/res_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class InterCompanyRulesConfig(models.TransientModel):
)
sync_picking_failure_action = fields.Selection(
related="company_id.sync_picking_failure_action",
)
sync_picking_state = fields.Boolean(
related="company_id.sync_picking_state",
readonly=False,
Expand Down

0 comments on commit 90119b2

Please sign in to comment.