-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
[14.0] fleet_vehicle_service_kanban: state or stage_id #38
Comments
In that case, we can consider dividing this module and generating other modules such as fleet_vehicle_service_tags. |
Thanks for open this issue @marcelsavegnago I think that the field stage_id should not be removed, but it should be removed from the statusbar, perhaps an option can be to add stage_id as one field in the form view. In any case, let's wait for the opinion of @ivantodorovich who has a better functional knowledge of this module with some clients. |
@mamcode what do you thing? |
I see it fine but how can the user change the stage? Is it editable in form ? |
I did not leave it editable in the form but I agree that it is necessary. |
Hello ! I agree it should be editable :) I haven't really analyzed the core module in 14.0 yet, it's possible our customer requirement may be satisfied with the new core workflow (using state field). @marcelsavegnago how are you using this module? |
I think it is worth using a regular m2o field.
I believe that the state field serves despite the loss and flexibility offered by stage_id.
At the moment I am not using it on any client but I was considering using it on a specific project for vehicle fleet management. |
Ok then, I trust your call :) PR looks good to me |
@ivantodorovich @marcelsavegnago I think that we can close this issue. |
@ivantodorovich In version 14.0, the state field was created in the fleet.vehicle.log.services data model. Do you think it makes more sense to use this field instead of the stage_id field implemented by the fleet_vehicle_service_kanban module?
https://github.com/odoo/odoo/blob/660a0cd8ad207ea53f3f62158b3849bbe2696eec/addons/fleet/models/fleet_vehicle_cost.py#L152
fleet/fleet_vehicle_service_kanban/models/fleet_vehicle_log_services.py
Line 19 in ed26f24
Migration PR: #35
The text was updated successfully, but these errors were encountered: