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.2 fix component id whe #32135

Closed

Conversation

Whenrow
Copy link
Contributor

@Whenrow Whenrow commented Mar 26, 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

@Whenrow
Copy link
Contributor Author

Whenrow commented Mar 26, 2019

@amoyaux

@C3POdoo C3POdoo added the RD research & development, internal work label Mar 26, 2019
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Mar 26, 2019
This commit ensures the qty_to_consume is always adapted to be the same
as qty_done in the onchange on qty_processing. This patch is needed to
keep the same behaviour before and after the workorder line refactoring
5ef4666
@Whenrow Whenrow force-pushed the saas-12.2-fix-component_id-whe branch from 3fb2dbd to 5518c86 Compare March 27, 2019 10:29
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses labels Mar 27, 2019
The _compute_final_lot_domain method is implicitely multi but doens't manage the loop over 'self'
@Whenrow Whenrow force-pushed the saas-12.2-fix-component_id-whe branch from 5518c86 to 86b8dca Compare March 27, 2019 13:42
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label Mar 27, 2019
@amoyaux
Copy link
Contributor

amoyaux commented Mar 27, 2019

robodoo r+ rebase-ff

@robodoo
Copy link
Contributor

robodoo commented Mar 27, 2019

Merge method set to rebase and fast-forward

Usecase to reproduce:
- Go on a Mo
- Edit and Unlock
- Produce the MO
- Update a raw move and add a move line

User error you quant write on product_qty fields.
product_qty represent the reserved quantity on move line as quant's UoM.
The system requires to write a product_uom_qty that represent the same
quantity but in the move line UoM.

Fix it by removing the fields from the view, so it's no more save.
Also set the quantity done as readonly if the lines are present in
the view.
@robodoo robodoo removed the r+ 👌 label Mar 27, 2019
@amoyaux
Copy link
Contributor

amoyaux commented Mar 27, 2019

robodoo r+

@robodoo robodoo added r+ 👌 CI 🤖 Robodoo has seen passing statuses labels Mar 27, 2019
robodoo pushed a commit that referenced this pull request Mar 27, 2019
Usecase to reproduce:
- Go on a Mo
- Edit and Unlock
- Produce the MO
- Update a raw move and add a move line

User error you quant write on product_qty fields.
product_qty represent the reserved quantity on move line as quant's UoM.
The system requires to write a product_uom_qty that represent the same
quantity but in the move line UoM.

Fix it by removing the fields from the view, so it's no more save.
Also set the quantity done as readonly if the lines are present in
the view.

closes #32135

Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
@robodoo
Copy link
Contributor

robodoo commented Mar 27, 2019

Merged, thanks!

@robodoo robodoo closed this Mar 27, 2019
@Whenrow Whenrow deleted the saas-12.2-fix-component_id-whe branch May 2, 2019 12:25
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