añade campo warehouse a partner_node
crea un almacén al crea un nuevo nodo si no se define movido menús al root de network_partner
This commit is contained in:
parent
72e7b5087e
commit
fecbdb7a9c
12 changed files with 73 additions and 88 deletions
|
|
@ -11,9 +11,5 @@ class PartnerNetwork(models.Model):
|
|||
_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" )
|
||||
|
||||
nodes_ids = fields.One2many('partner.node', 'network_id', string="Nodos de la red", help="Los nodos de usuarios finales que conforman la red")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue