[MIG] partner_profiles: Migration to 16.0

This commit is contained in:
Boris Gallet
2024-03-06 11:35:02 +01:00
committed by Stéphan Sainléger
parent e03fe31c86
commit df455303fa
18 changed files with 1766 additions and 0 deletions

View 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.