8000 [16.0][ADD] product_variant_configurator_change_template by AlexPForgeFlow · Pull Request #401 · OCA/product-variant · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[16.0][ADD] product_variant_configurator_change_template #401

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

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

AlexPForgeFlow
Copy link
@AlexPForgeFlow AlexPForgeFlow commented Mar 25, 2025

Superseeds: #366

This tool allow reassign existing variants to an empty template, this ideal when odoo has template creation as a initial approach, but after some time you decide to combine similar products as a variants belong a template

You should create empty variants with attributes, then you can select variant and change template

When template original empty variants, automatic inactivated by wizard

Restrictions:

  • You can't assign if original uom is different of destination uom

@JordiMForgeFlow
Copy link
Contributor

@AlexPForgeFlow maybe it would make more sense for the module to be named like 'product_variant_configurator_change_template' as it relies on the 'product_variant_configurator' module. WDYT?

Could you also add the copyright and license lines in the module files?

Not sure if you already thought about it but it would probably make sense to also have a glue module with MRP to handle the changes on BoMs

@AlexPForgeFlow AlexPForgeFlow force-pushed the 16.0-add-product_variant_change_template_ branch from b86f0c3 to 6a587d2 Compare March 25, 2025 10:57
@AlexPForgeFlow AlexPForgeFlow changed the title [16.0][ADD] product_variant_change_template [16.0][ADD] product_variant_configurator_change_template Mar 25, 2025
from odoo import Command, _, api, fields, models
from odoo.exceptions import UserError

_logger = logging.getLogger(__name__)
Copy link
Contributor

Choose a reason for hiding this comment

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

unused, we could remove

@zeroheure
Copy link

This is interesting. I often do that by hand on my wife's Odoo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0