network_partner
This commit is contained in:
parent
cf798a996b
commit
d2ac963ee1
15 changed files with 437 additions and 1 deletions
14
network_partner/models/res_partner.py
Normal file
14
network_partner/models/res_partner.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#import logging
|
||||
|
||||
from odoo import models, fields, api
|
||||
|
||||
|
||||
#_logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ResPartner(models.Model):
|
||||
_inherit = 'res.partner'
|
||||
#'users': fields.many2many('res.users', 'res_groups_users_rel', 'gid', 'uid', 'Users'),
|
||||
node_id = fields.Many2one('partner.node', string="Nodo")
|
||||
is_node = fields.Boolean(string="Es un nodo", help="Éste partner representa un nodo en una red.")
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue