source: addons/isp/res_partner.py

Last change on this file was 43, checked in by chronos, 13 years ago
  • isp modul: Seznam služeb u partnera.
File size: 1.2 KB
Line 
1
2# -*- encoding: utf-8 -*-
3##############################################################################
4#
5# OpenERP, Open Source Management Solution
6# Copyright (C) 2009 (<http://www.filsystem.ro>). All Rights Reserved
7# $Id$
8#
9# This program is free software: you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation, either version 3 of the License, or
12# (at your option) any later version.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program. If not, see <http://www.gnu.org/licenses/>.
21#
22##############################################################################
23
24from osv import fields, osv
25
26class res_partner(osv.osv):
27 _name = "res.partner"
28 _inherit = "res.partner"
29 _columns = {
30 'service_ids': fields.many2many('network.service', 'network_service_partner_rel', 'partner_id', 'service_id', 'Services'),
31 }
32res_partner()
33
Note: See TracBrowser for help on using the repository browser.