Skip to content

[ADD] new_product_type: Added sub-products to a particular product #833

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

Draft
wants to merge 3 commits into
base: 18.0
Choose a base branch
from

Conversation

hapt-odoo
Copy link

@hapt-odoo hapt-odoo commented Jul 2, 2025

In this module, added the sub-products in specific products when
boolean is true, and by using the wizard, add all the sub-products in
sale.order.line, and also added the sub-products in the invoice, and
customer preview.

task-4907378

…new fields

In the new_producttype module created in the product form to add
sub-products field in specific products and in sale.order.line added a button
in that by clicking on it, created a wizard of sub_product linked with
the main product.
In the new_producttype module, get the sub-products associated with
the product on sale.order.line using wizard and added that the sub_products
directly in sale.order.line and made the parent line ondelete=cascade
to delete sub_product_lines on deletion of parent_line
In the new_producttype module , added sub_products in invoice
When the boolean is true, and also added sub_products in
customer preview.
@robodoo
Copy link

robodoo commented Jul 2, 2025

Pull request status dashboard

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.

2 participants