Skip to content

Commit

Permalink
Merge pull request #151 from tegin/16.0-mig-cb_maintenance
Browse files Browse the repository at this point in the history
[16.0][MIG] cb_maintenance: Migration to 16.0
  • Loading branch information
etobella authored Dec 3, 2024
2 parents f6f31f6 + a5de4b6 commit dbb7c31
Show file tree
Hide file tree
Showing 41 changed files with 3,005 additions and 0 deletions.
1 change: 1 addition & 0 deletions cb_maintenance/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CB custom views and other functions
2 changes: 2 additions & 0 deletions cb_maintenance/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
41 changes: 41 additions & 0 deletions cb_maintenance/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Copyright 2019 Creu Blanca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Cb Maintenance",
"summary": """
CB maintenance base""",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "CreuBlanca",
"website": "https://github.com/tegin/cb-maintenance",
"depends": [
"base_fontawesome",
"base_maintenance",
"attachment_indexation",
"maintenance_equipment_category_hierarchy",
"maintenance_equipment_image",
"maintenance_equipment_hierarchy",
"maintenance_location",
"maintenance_request_sequence",
"maintenance_request_stage_transition",
"maintenance_team_hierarchy",
"web_widget_open_tab",
"base",
],
"data": [
"security/ir.model.access.csv",
"wizards/wizard_close_request.xml",
"views/maintenance_plan.xml",
"wizards/wizard_mass_change_stage.xml",
"data/equipment_sequence_data.xml",
"data/mail_templates.xml",
"views/maintenance_equipment.xml",
"views/maintenance_equipment_category.xml",
"views/maintenance_request.xml",
"views/maintenance_stage.xml",
"views/maintenance_team.xml",
"views/res_partner.xml",
"wizards/wizard_create_maintenance_request.xml",
],
}
9 changes: 9 additions & 0 deletions cb_maintenance/data/equipment_sequence_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<record id="seq_maintenance_equipment" model="ir.sequence">
<field name="name">Maintenance Equipment Sequence</field>
<field name="code">maintenance.equipment.sequence</field>
<field eval="4" name="padding" />
<field name="prefix">MQ-</field>
</record>
</odoo>
13 changes: 13 additions & 0 deletions cb_maintenance/data/mail_templates.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<template id="message_origin_split_link">
<p>This <t t-esc="self._description.lower()" /> has generated:
<t t-foreach="created" t-as="o">
<a href="#" t-att-data-oe-model="o._name" t-att-data-oe-id="o.id">
<t t-esc="o.display_name" />
</a>
<span t-if="created.ids[-1:] != o.ids">, </span>
</t>
</p>
</template>
</odoo>
Loading

0 comments on commit dbb7c31

Please sign in to comment.