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

Saas 12.3 same product whe #32948

Closed
wants to merge 2 commits into from

Conversation

Whenrow
Copy link
Contributor

@Whenrow Whenrow commented Apr 25, 2019

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:

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

The method _workorder_line_ids() is defined on mrp.workorder while `self`
is an instance of change_production_qty wizard in this case. Without this
commit, changing the quantity to produce of a manufactoring order with workorders
already planned raised a traceback.
Posting intermediate inventory in a manufacturing order using workorder
need to delete all the remaining workorder lines.
The post_inventory method create new raw moves for the remaining quantities
then reserve those quantities. The reservation will create new workorder lines

If the old workorder lines are not purged, the workorder will be asked to produced
too much.
@C3POdoo C3POdoo added the RD research & development, internal work label Apr 25, 2019
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Apr 25, 2019
@sle-odoo
Copy link
Contributor

sle-odoo commented May 6, 2019

robodoo r+ rebase-ff

@robodoo robodoo added the r+ 👌 label May 6, 2019
@robodoo
Copy link
Contributor

robodoo commented May 6, 2019

Merge method set to rebase and fast-forward

@robodoo
Copy link
Contributor

robodoo commented May 6, 2019

Linked pull request(s) odoo/enterprise#4181 not ready. Linked PRs are not staged until all of them are ready.

robodoo pushed a commit that referenced this pull request May 14, 2019
Posting intermediate inventory in a manufacturing order using workorder
need to delete all the remaining workorder lines.
The post_inventory method create new raw moves for the remaining quantities
then reserve those quantities. The reservation will create new workorder lines

If the old workorder lines are not purged, the workorder will be asked to produced
too much.

closes #32948

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
@robodoo
Copy link
Contributor

robodoo commented May 14, 2019

Merged, thanks!

@robodoo robodoo closed this May 14, 2019
@Whenrow Whenrow deleted the saas-12.3-same-product-whe branch October 9, 2019 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants