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

mocalculate data on MO does not bring the product_UOM #62

Closed
anajuaristi opened this issue Dec 9, 2015 · 5 comments
Closed

mocalculate data on MO does not bring the product_UOM #62

anajuaristi opened this issue Dec 9, 2015 · 5 comments

Comments

@anajuaristi
Copy link

Create a bill of materials with a product in KG
Go to manufacturing order
Calculate data
The assigned product UOM in "planned materials" is Unit, so it's wrong and it's causing this error:

Field(s) product_uom failed against a constraint: You try to move a product using a UoM that is not compatible with the UoM of the product moved. Please use an UoM in the same UoM category.

This issue was reported by me and @ybofr on this PR but you said it was not related to new hooks. I think it is, since the error appairs with "calculate data" button.
#57

@pedrobaeza @rafaelbn @oihane

@pedrobaeza
Copy link
Member

And it's not related, @anajuaristi, as just checked by @oihane. Please don't add noise and wait if you have already allocated a person for checking, then wait for her results and report it with more data.

@oihane
Copy link
Contributor

oihane commented Dec 9, 2015

Tested in runbot _base database:

  1. Install mrp: OK
  2. Install mrp_operations: OK
  3. Install mrp_hook: OK
  4. Install mrp_operations_extension: OK

In each step I created a BoM and I added "Ice Cream" as component (it has 'kg' as UoM) and it worked OK
After I created a MO with the product of the BoM I've just created and pushed the button "Calculate Data" it also worked OK

So I think you are not doing correctly the tests.

@anajuaristi
Copy link
Author

Ok. It could be it's not related exactly to that module but somehow, somewhere is happening. It's because of that i opened the issue. Just to not forget and try to solve it.

@pedrobaeza
Copy link
Member

pedrobaeza added a commit that referenced this issue Dec 10, 2015
[FIX] mrp_bom_reference_selection: Fixed onchange error closes #62
@LoisRForgeFlow
Copy link
Contributor

Closing due to aging, please feel free to reopen.

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

No branches or pull requests

4 participants