-
-
Notifications
You must be signed in to change notification settings - Fork 82
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] product_configurator #106
Conversation
…for onchange_custom_type and val_custome_field method
…or product attributes onchange and constraint methods
…se cfg_session_id
…rator_values and other code improvements
…for check weight_extra method
…d some changes for test-case
…for check weight_extra method and write test cases
…r product_config file
…alue_id and value_ids field
…tor_image_builder : add domain on value_id and value_ids and create a new field and add compute method.
…write test case for inverse method and check weight_extra method
…product_attribute file.
696190f
to
1857ed8
Compare
185e5de
to
4d439d3
Compare
2d2fb35
to
ac945b4
Compare
@PCatinean @dreispt @dannyadair Can you please take a look? |
@Nikul-OSI Why the PATCH labels in the history commits, can you please remove them? |
hooks: | ||
- id: ruff | ||
args: [--fix, --exit-non-zero-on-fix] | ||
- id: ruff-format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
@@ -183,16 +181,18 @@ def onchange_values(self): | |||
def _check_default_values(self): | |||
"""default value should not be outside of the | |||
values selected in attribute line""" | |||
for line in self.filtered(lambda l: l.default_val): | |||
for line in self.filtered(lambda line: line.default_val): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure these changes were already in v16.
Can you check you brought over all commits there?
@@ -685,7 +685,7 @@ def write(self, vals): | |||
try: | |||
self.validate_configuration(final=False) | |||
except ValidationError as exc: | |||
raise ValidationError(_("%s") % exc.name) from exc | |||
raise ValidationError(_("{}".format(exc))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe raise ValidationError(_("{}").format(exc))
?
Or even better, I can't see the point for this except
, what if we remove it?
) | ||
specs.update(ch_specs) | ||
|
||
# TODO :- Commented a code and ths code already base in a odoo base modules. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just delete the code then.
Superseded by #117 , that has the commit history fixed. |
No description provided.