[MIG] partner_profiles: Migration to 16.0
This commit is contained in:
committed by
Stéphan Sainléger
parent
e03fe31c86
commit
b542ec7a39
14
partner_profiles/models/partner_profile.py
Normal file
14
partner_profiles/models/partner_profile.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright 2022 Elabore (https://elabore.coop)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import models, fields
|
||||
|
||||
|
||||
class PartnerProfile(models.Model):
|
||||
_name = "partner.profile"
|
||||
_description = "Partner profile to differentiate the attached partner entries"
|
||||
|
||||
name = fields.Char(string="Name", required=True, translate=True, readonly=False)
|
||||
ref = fields.Char(string="Ref", required=True, translate=False, readonly=False)
|
||||
|
||||
# TODO: block unlink method.
|
Reference in New Issue
Block a user