Skip to content

[18.0][MIG] quality_control_oca #1523

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

Open
wants to merge 111 commits into
base: 18.0
Choose a base branch
from

Conversation

AaronHForgeFlow
Copy link
Contributor

Supersedes #1374

it includes #1491

cc @ForgeFlow

@LoisRForgeFlow
Copy link
Contributor

@AaronHForgeFlow I think this improvement #1278 should be included during migration

@LoisRForgeFlow
Copy link
Contributor

@AaronHForgeFlow Another one to include here #1508

@LoisRForgeFlow
Copy link
Contributor

LoisRForgeFlow commented Jun 4, 2025

One more! #1509 EDIT: not yet, it has conflicts pending to fix before merging

@AaronHForgeFlow AaronHForgeFlow force-pushed the 18.0-mig-quality_control_oca branch from f3303c7 to 5949f1b Compare June 4, 2025 15:36
@AaronHForgeFlow
Copy link
Contributor Author

@AaronHForgeFlow I think this improvement #1278 should be included during migration

@AaronHForgeFlow Another one to include here #1508

Both added!

@LoisRForgeFlow
Copy link
Contributor

One more! #1509 EDIT: not yet, it has conflicts pending to fix before merging

RE-EDIT 😆 @AaronHForgeFlow this one has been fixed and merged in 16

@LoisRForgeFlow
Copy link
Contributor

@AaronHForgeFlow could you try to fix conflicts here?

oihane and others added 14 commits July 7, 2025 12:49
…d new concepts. * Triggers for product category * ACLs * Tolerances in questions * one2many copyable * Fix some views * Error on same tolerance * Colors on inspection lines * Unify inspection header data assignment in set_test method * key name in set_test * Change icon set
…les * Trigger line instead of test and user
* Expand AUTHORS

* Fix permissions
* security modified
* some demo info added
* Added "partner_selectable" field, so that inspections can by made by partner
* Little view fixing, field was oe_edit_only instead of label
* Add partners to trigger lines
* Tests added
* Trigger lines with duplicated test cleaned

quality_control: Propose to OCA

quality_control: required changes

quality_control: Fixing coveralls

quality_control_stock: * added demo data * replaced unlink method by ondelete="cascade" * required changes
Making it a regular field, you can put any manual quantity in inspections
OCA-git-bot and others added 21 commits July 7, 2025 12:49
Currently translated at 100.0% (162 of 162 strings)

Translation: manufacture-17.0/manufacture-17.0-quality_control_oca
Translate-URL: https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-quality_control_oca/sv/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-17.0/manufacture-17.0-quality_control_oca
Translate-URL: https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-quality_control_oca/
Currently translated at 74.3% (119 of 160 strings)

Translation: manufacture-17.0/manufacture-17.0-quality_control_oca
Translate-URL: https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-quality_control_oca/de/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-17.0/manufacture-17.0-quality_control_oca
Translate-URL: https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-quality_control_oca/
This commit adds date_done field, update views and filters and the timing field in the QC trigger line to enable
following scenarios:

- When timing is 'Before', an inspection is generated for each related
  move when a picking with the trigger is confirmed.
- When timing is 'Plan Ahead', a 'Plan' inspection is generated for
  each related move when a picking with the trigger is confirmed. A
  plan inspection is just a plan, and cannot be updated except for the
  date. A plan inspection gets converted into an executable inspection
  once the picking is done.
Update create signature to use vals_list
Fix raise in unlink override. Replace with api.ondelete method
Allow superuser to override ondelete constraint for autogenerated inspection
Replace unnecessary elif
@AaronHForgeFlow AaronHForgeFlow force-pushed the 18.0-mig-quality_control_oca branch from 6eeb033 to 42bf074 Compare July 7, 2025 10:49
@AaronHForgeFlow
Copy link
Contributor Author

@LoisRForgeFlow do you still see conflicts? In local I did not find any conflicts. In the Pull Request only PSC can see the conflicts 😕

@LoisRForgeFlow
Copy link
Contributor

@LoisRForgeFlow do you still see conflicts? In local I did not find any conflicts. In the Pull Request only PSC can see the conflicts 😕

I see this

image

Not sure if this is going to be an issue merging with ocabot

@AaronHForgeFlow
Copy link
Contributor Author

The branch is already rebased, I am not sure what to do now 😞

@LoisRForgeFlow
Copy link
Contributor

It doesn't show differences in my local... let's move forward with reviews and let's hope there is no problem while merging.

@LoisRForgeFlow
Copy link
Contributor

@AndreuOForgeFlow could you update your review?

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

Successfully merging this pull request may close these issues.