mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 14:12:00 +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,21 @@
|
|||
# Copyright 2011-2015 Therp BV <https://therp.nl>
|
||||
# Copyright 2016 Opener B.V. <https://opener.am>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class UpgradeAttribute(models.Model):
|
||||
_name = "upgrade.attribute"
|
||||
_description = "Upgrade Attribute"
|
||||
|
||||
name = fields.Char(readonly=True)
|
||||
|
||||
value = fields.Char(readonly=True)
|
||||
|
||||
record_id = fields.Many2one(
|
||||
comodel_name="upgrade.record",
|
||||
index=True,
|
||||
ondelete="CASCADE",
|
||||
readonly=True,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue