You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would propose to create a list variable in qc_trigger_line.py that will hold all trigger model names so that extending would require only adding the model to that list.
If you accept this issue I'll come back with a PR.
The text was updated successfully, but these errors were encountered:
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
Inherited trigger line models in quality_control_mrp and quality_control_stock are hardcoded in the methods.
To add an extra trigger line model one must override all methods to add model.
Offending lines:
https://github.com/OCA/manufacture/blob/47548543760eab4e8c188cb408729025c2d0df98/quality_control_mrp/models/mrp_production.py#L38C8-L40
I would propose to create a list variable in qc_trigger_line.py that will hold all trigger model names so that extending would require only adding the model to that list.
If you accept this issue I'll come back with a PR.
The text was updated successfully, but these errors were encountered: