mirror of
https://github.com/bringout/oca-maintenance.git
synced 2026-04-22 06:22:01 +02:00
Add oca-maintenance submodule with 28 maintenance modules
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
f9209b4af8
commit
5a635dd914
968 changed files with 44227 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
# Copyright 2017 Camptocamp SA
|
||||
# Copyright 2019 ForgeFlow S.L. (https://www.forgeflow.com)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class MaintenanceRequest(models.Model):
|
||||
|
||||
_inherit = "maintenance.request"
|
||||
|
||||
maintenance_kind_id = fields.Many2one(
|
||||
string="Maintenance kind", comodel_name="maintenance.kind", ondelete="restrict"
|
||||
)
|
||||
|
||||
maintenance_plan_id = fields.Many2one(
|
||||
string="Maintenance plan", comodel_name="maintenance.plan", ondelete="restrict"
|
||||
)
|
||||
note = fields.Html()
|
||||
Loading…
Add table
Add a link
Reference in a new issue