- Preserved explicit 3rd-party copyright notices - Explicit boilerplate should not be necessary - copyright law applies automatically in all countries thanks to Berne Convention + WTO rules, and a reference to the applicable license is clear enough.
15 lines
455 B
Python
15 lines
455 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from openerp.osv import fields, osv
|
|
|
|
class res_partner(osv.osv):
|
|
_inherit = 'res.partner'
|
|
_columns = {
|
|
'property_delivery_carrier': fields.property(
|
|
type='many2one',
|
|
relation='delivery.carrier',
|
|
string="Delivery Method",
|
|
help="This delivery method will be used when invoicing from picking."),
|
|
}
|