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

Make product creation from bom line expolde customizable. #13311

Closed

Conversation

codingforfun
Copy link
Contributor

Description of the issue/feature this PR addresses:
Make it easier to customize product dict creation during mrp.bom line explode.

Current behavior before PR:
Currently to customize it would be necessary to copy all the code of the function.

Desired behavior after PR is merged:
Override only _bom_explode_product() to modify the returned data.

Example: For a special customization in my own code I need the ID of the parent mrp.bom the product dict is comming from.
This simple change allows to hook in easily

I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@codingforfun codingforfun force-pushed the 8.0-mrp-customize-line-explode-upstream branch from cebe145 to 065f89c Compare August 26, 2016 13:20
@codingforfun
Copy link
Contributor Author

Seams this has been discussed already here: #8885

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.

None yet

1 participant