forked from OCA/delivery-carrier
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpartner.py
More file actions
18 lines (13 loc) · 665 Bytes
/
partner.py
File metadata and controls
18 lines (13 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- coding: utf-8 -*-
# Author: Chafique DELLI <chafique.delli@akretion.com>
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from odoo import models, fields
class ResPartner(models.Model):
_inherit = "res.partner"
use_b2c_info = fields.Boolean('Advanced address',
help="Display additional information for "
"home delivery (b2c)")
door_code = fields.Char('Door Code')
door_code2 = fields.Char('Door Code 2')
intercom = fields.Char('Intercom', help="Informations for Intercom such as"
" name or number on the intercom")