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

quality_control_oca: Broken quality control reference related-type tests #1378

Open
giarve opened this issue Oct 29, 2024 · 5 comments
Open
Labels

Comments

@giarve
Copy link

giarve commented Oct 29, 2024

Module

quality_control_oca

To Reproduce

Affected versions: 16.0

Steps to reproduce the behavior:

  1. Create a new test
  2. Select type: Related
  3. Enjoy a blank list
@giarve giarve added the bug label Oct 29, 2024
@StuartJMackintosh
Copy link
Member

+1

@cparadis-impressfoods
Copy link

cparadis-impressfoods commented Nov 18, 2024

I've posted a similar issue #1286 a few months ago. There was also #823 dating back to V14 with a similar bug. I just retried the module on a new dev database and experiencing the same issue. As per my bug report, I was able to reproduce the bug on runboat for versions going back to V14.
I've received no response on my initial issue.

@aviejo
Copy link

aviejo commented Dec 13, 2024

Conceptually, what is that field for? What should it contain?

@cparadis-impressfoods
Copy link

Conceptually, what is that field for? What should it contain?

It should contain the object reference for related fields. Right now
image
Currently, the selection values for this field are ['s','e','t','(',')'], which strangely is the string representation of the return value of the object_selection_values() method of qc.test:
https://github.com/OCA/manufacture/blob/171badef793a255a8d5763f55f1be19a5a87c2f0/quality_control_oca/models/qc_test.py#L21C2-L21C3
Since it's a related field, I would expect it to be a list of possible models to link the test to: pickings, production_orders, etc.

@aviejo
Copy link

aviejo commented Dec 13, 2024

I see the technical problem and understand it, but not functionally, I don't know what it's for, what philosophy and if it's relevant.

It is possibly related to this field of inspections. and can be a filter for when an inspection is for a reference.

Could that be its function? filter the bring test window?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants