Last active
June 4, 2016 02:09
-
-
Save holdenrehg/97c9d9ec6bd8924ff6326490e9fc35d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import logging | |
from openerp import api, models, fields | |
_logger = logging.getLogger(__name__) | |
class PartnerGroup(models.Model): | |
_name = 'res.partner.group' | |
name = fields.Char('Group Name') | |
partner_ids = fields.One2many('res.partner', 'partner_group_id', 'Partners') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment