mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-19 08:32:03 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 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