[REF] purchase: search view of purchase order and form view of merge order wizard
[odoo/odoo.git] / addons / l10n_ch / company.py
1 # -*- coding: utf-8 -*-
2 #
3 #  company.py
4 #  l10n_ch
5 #
6 #  Created by Nicolas Bessi based on Credric Krier contribution
7 #
8 #  Copyright (c) 2009 CamptoCamp. All rights reserved.
9 ##############################################################################
10 #
11 # WARNING: This program as such is intended to be used by professional
12 # programmers who take the whole responsability of assessing all potential
13 # consequences resulting from its eventual inadequacies and bugs
14 # End users who are looking for a ready-to-use solution with commercial
15 # garantees and support are strongly adviced to contract a Free Software
16 # Service Company
17 #
18 # This program is Free Software; you can redistribute it and/or
19 # modify it under the terms of the GNU General Public License
20 # as published by the Free Software Foundation; either version 2
21 # of the License, or (at your option) any later version.
22 #
23 # This program is distributed in the hope that it will be useful,
24 # but WITHOUT ANY WARRANTY; without even the implied warranty of
25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26 # GNU General Public License for more details.
27 #
28 # You should have received a copy of the GNU General Public License
29 # along with this program; if not, write to the Free Software
30 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
31 #
32 ##############################################################################
33
34 import netsvc
35 from osv import fields, osv
36 class res_company(osv.osv):
37     """override company in order to add bvr vertical and 
38     Horizontal print delta"""
39     _inherit = "res.company"
40     _columns = {
41         ### horiz. delta in mm 1.2 will print the bvz 1.2mm lefter
42         'bvr_delta_horz': fields.float('BVR Horz. Delta (mm)',
43             help='horiz. delta in mm 1.2 will print the bvz 1.2mm lefter'),
44         ### vert. delta in mm 1.2 will print the bvz 1.2mm lefter
45         'bvr_delta_vert': fields.float('BVR Vert. Delta (mm)',
46             help='vert. delta in mm 1.2 will print the bvz 1.2mm lefter'),
47     }
48 res_company()
49
50 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: