mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2026-10-24 23:17:39 -05:00
15 lines
628 B
Python
15 lines
628 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2016, 2019 Openworx
|
|
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
|
|
|
from flectra import models, fields
|
|
|
|
|
|
class Partner(models.Model):
|
|
_inherit = "res.partner"
|
|
|
|
customer = fields.Boolean(string='Is a Customer', default=True,
|
|
help="Check this box if this contact is a customer.")
|
|
supplier = fields.Boolean(string='Is a Vendor',
|
|
help="Check this box if this contact is a vendor. "
|
|
"If it's not checked, purchase people will not see it when encoding a purchase order.") |