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

TA#72146 [16.0][MIG] product_category_safe_change #206

Merged
merged 9 commits into from
Feb 4, 2025
Merged

TA#72146 [16.0][MIG] product_category_safe_change #206

merged 9 commits into from
Feb 4, 2025

Conversation

rivo2302
Copy link
Contributor

@rivo2302 rivo2302 commented Jan 7, 2025

No description provided.

@rivo2302 rivo2302 requested a review from majouda January 7, 2025 10:12
@majouda majouda changed the title [16.0][MIG] poroduct_category_safe_change TA#72146 [16.0][MIG] poroduct_category_safe_change Jan 9, 2025
def write(self, vals):
for rec in self:
if rec.type != "service" and "categ_id" in vals:
rec._check_category_stock_move()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rivo2302 same with this line. Trying to use @api.constrains()

@lanto-razafindrabe lanto-razafindrabe changed the title TA#72146 [16.0][MIG] poroduct_category_safe_change TA#72146 [16.0][MIG] product_category_safe_change Feb 3, 2025
@majouda majouda merged commit 92ea8ce into 16.0 Feb 4, 2025
1 of 3 checks passed
@majouda majouda deleted the TA#72146 branch February 4, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants