-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
[ADD] maintenance_equipment_meter #378
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you for this new module.
<!-- | ||
<record model="ir.actions.act_window" id="maintenance_equipment_meter_act_window"> | ||
<field name="name">Maintenance Equipment Meter</field> | ||
<field name="res_model">maintenance.equipment.meter</field> | ||
<field name="view_mode">tree,form</field> | ||
<field name="domain">[]</field> | ||
<field name="context">{}</field> | ||
</record> | ||
|
||
<record model="ir.ui.menu" id="maintenance_equipment_meter_menu"> | ||
<field name="name">Maintenance Equipment Meter</field> | ||
<field name="parent_id" ref="xmlid of parent menu"/> | ||
<field name="action" ref="maintenance_equipment_meter_act_window"/> | ||
<field name="sequence" eval="16"/> | ||
</record> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that the intention of this commented code was to have a main menu to access all the meter records of all the equipments from a main menu. It would be nice if we can have this.
By the way, in this action I would group the records by equipment.
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 9c24b12. Thanks a lot for contributing to OCA. ❤️ |
This module allows us to integrate a meter (Odometer, printed pages counter...) on equipments. Data can be fulfilled in equipments directly or in requests.
Approach is similar to fleet odometer, but for equipments