Skip to content

Commit

Permalink
*: Fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
etobella authored and renda-dev committed Nov 20, 2024
1 parent 4f62e45 commit 763e18b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion maintenance_project_plan/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Maintenance Project Plans
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a67a3138349e359b726e1e9e6965b49ffb6e4c914fcd6bec67883c0e6312a681
!! source digest: sha256:9be0554afd55b1d9de1c1d2bf5031986ff076df7e3cd2484a0c374f74ed6dab9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion maintenance_project_plan/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Maintenance Project Plans",
"summary": "Adds project and task to a Maintenance Plan",
"version": "14.0.1.0.0",
"version": "14.0.1.0.1",
"author": "Odoo Community Association (OCA), Solvos",
"license": "AGPL-3",
"category": "Maintenance",
Expand Down
22 changes: 10 additions & 12 deletions maintenance_project_plan/data/demo_maintenance_project_plan.xml
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
<odoo>
<data noupdate="1">
<odoo noupdate="1">
<record id="maintenance_plan_monthly_equipment2_task" model="maintenance.plan">
<field name="equipment_id" ref="maintenance_project.equipment_2" />
<field
name="maintenance_kind_id"
ref="maintenance_plan.maintenance_kind_monthly"
/>
name="maintenance_kind_id"
ref="maintenance_plan.maintenance_kind_monthly"
/>
<field name="project_id" ref="maintenance_project.project_project_1" />
<field name="task_id" ref="maintenance_project.project_task_12" />
<field name="interval">30</field>
<field name="interval_step">day</field>
<field name="duration">2</field>
</record>
<record
id="maintenance_plan_monthly_equipment2_notask"
model="maintenance.plan"
>
id="maintenance_plan_monthly_equipment2_notask"
model="maintenance.plan"
>
<field name="equipment_id" ref="maintenance_project.equipment_2" />
<field
name="maintenance_kind_id"
ref="maintenance_plan.maintenance_kind_weekly"
/>
name="maintenance_kind_id"
ref="maintenance_plan.maintenance_kind_weekly"
/>
<field name="project_id" ref="maintenance_project.project_project_1" />
<field name="interval">7</field>
<field name="interval_step">day</field>
<field name="duration">1</field>
</record>
</data>
</odoo>
2 changes: 1 addition & 1 deletion maintenance_project_plan/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Maintenance Project Plans</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a67a3138349e359b726e1e9e6965b49ffb6e4c914fcd6bec67883c0e6312a681
!! source digest: sha256:9be0554afd55b1d9de1c1d2bf5031986ff076df7e3cd2484a0c374f74ed6dab9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/maintenance/tree/14.0/maintenance_project_plan"><img alt="OCA/maintenance" src="https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/maintenance-14-0/maintenance-14-0-maintenance_project_plan"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/maintenance&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module adds project and task fields to a Maintenance Plan, which will be automatically propagated to any maintenance request generated from a Plan.</p>
Expand Down

0 comments on commit 763e18b

Please sign in to comment.