network_partner
This commit is contained in:
parent
cf798a996b
commit
d2ac963ee1
15 changed files with 437 additions and 1 deletions
19
network_partner/models/partner_network.py
Normal file
19
network_partner/models/partner_network.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#import logging
|
||||
|
||||
from odoo import models, fields, api
|
||||
|
||||
#_logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class PartnerNetwork(models.Model):
|
||||
_name = 'partner.network'
|
||||
#_inherit = 'mail.thread'
|
||||
_description = 'A network of nodes.'
|
||||
|
||||
name = fields.Char(string="Nombre", help="El nombre de la red.")
|
||||
#Fields
|
||||
#network_partner_id = fields.Many2one('res.partner', required=True, ondelete='restrict')
|
||||
#'groups_id': fields.many2many('res.groups', 'res_groups_users_rel', 'uid', 'gid', 'Groups'),
|
||||
#member_id = fields.Many2many('res.partner', 'res_partner_network_rel', 'uid', 'nid', "Partners" )
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue