company.py 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # -*- encoding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # OpenERP, Open Source Management Solution
  5. # Copyright (c) 2013 Acysos S.L. (http://acysos.com) All Rights Reserved.
  6. # Ignacio Ibeas <ignacio@acysos.com>
  7. # Daniel Pascal <daniel@acysos.com>
  8. # $Id$
  9. #
  10. # This program is free software: you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation, either version 3 of the License, or
  13. # (at your option) any later version.
  14. #
  15. # This program is distributed in the hope that it will be useful,
  16. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. # GNU General Public License for more details.
  19. #
  20. # You should have received a copy of the GNU General Public License
  21. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  22. #
  23. ##############################################################################
  24. from openerp import models, fields, api, _
  25. class res_company(models.Model):
  26. _inherit = "res.company"
  27. default_document_mount = fields.Char('Default Document Mount',
  28. size=256,help='Local mount point')
  29. default_mount_agreement = fields.Char('Default Mount Rental Agreement',
  30. size=256,
  31. help='Local mount point for rental agreement')
  32. default_document_client = fields.Selection([('win','Windows Client'),
  33. ('unix','Linux/MacOSX Client'),
  34. ('web','Web Client')], 'Default Document Client')
  35. domain = fields.Char('domain')