Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] delivery_roulier_option: Migration to 17.0 #829

Merged
merged 7 commits into from
Jul 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve error msg
alexis-via authored and yankinmax committed Jul 12, 2024
commit caa6bd40bb6a8551d16556f7fb7c612a095ca948
6 changes: 3 additions & 3 deletions delivery_roulier_option/models/stock_picking.py
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ class StockPicking(models.Model):
display_insurance = fields.Boolean(
compute='_compute_check_options',
string="Define a condition to display/hide your custom Insurance"
"field with a decated view")
"field with a dedicated view")

@implemented_by_carrier
def _map_options(self):
@@ -35,8 +35,8 @@ def _compute_check_options(self):
rec.display_insurance = True
else:
rec.display_insurance = False
_logger.info(" >>> in _compute_check_options() %s" %
rec.display_insurance)
_logger.info("Picking %s display_insurance=%s",
rec.name, rec.display_insurance)

@api.model
def _roulier_map_options(self):