- 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
436 B
Python
15 lines
436 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from openerp.osv import osv,fields
|
|
|
|
class company(osv.osv):
|
|
_inherit = 'res.company'
|
|
_columns = {
|
|
'manufacturing_lead': fields.float('Manufacturing Lead Time', required=True,
|
|
help="Security days for each manufacturing operation."),
|
|
}
|
|
_defaults = {
|
|
'manufacturing_lead': lambda *a: 1.0,
|
|
}
|