Skip to content

Commit

Permalink
[ADD] dropoff_site_number field on the partner
Browse files Browse the repository at this point in the history
  • Loading branch information
PierrickBrun committed Jul 6, 2018
1 parent 882d83b commit c41eaf1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions delivery_roulier/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from . import stock_picking
from . import stock_quant_package
from . import stock_pack_operation
from . import res_partner
13 changes: 13 additions & 0 deletions delivery_roulier/models/res_partner.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# coding: utf-8
# @author Pierrick Brun <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo import models, fields


class ResPartner(models.Model):
_inherit = 'res.partner'

dropoff_site_number = fields.Char(
help='the number used by the carrier to identify the dropoff site'
)

0 comments on commit c41eaf1

Please sign in to comment.