mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-12-23 21:01:48 +00:00
12 lines
319 B
Python
12 lines
319 B
Python
|
# Copyright (C) 2020 Open Source Integrators
|
||
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||
|
from flectra import fields, models
|
||
|
|
||
|
|
||
|
class Animal(models.Model):
|
||
|
_inherit = "animal"
|
||
|
|
||
|
partner_id = fields.Many2one(
|
||
|
"res.partner", string="Owner", index=True, track_visibility="onchange"
|
||
|
)
|