Skip to Content
Menu
This question has been flagged
1467 Views

I wonder if i can use 2 pages in a notebook to show different fields from the same model

like


class ImportTemplate(models.Model):
_name = 'comex'
...
producto_line = fields.One2many('comex.line','producto_id', string='linea producto', copy=True, auto_join=True)

class ImportTemplate_line(models.Model):
_name = 'comex.line'
...
producto_id = fields.Many2one('comex',string ='id producto',required=True, ondelete='cascade', index=True, copy=False)
nombre = fields.Many2one('product.template',string="Descripcion",required=True)
dolar = fields.Float(default='1')
cantidad = fields.Integer(string='Cantidad',required=True, default='1')
total = fields.Float(string = "Total FOB")
totalx = fields.Float(string = "Total extra (CIF)")



    

    
        
            
            
            
        
    
    

    
    
        
            
            
            
        
    
    
 


until now i can't but i wonder if there is a way to do this

Avatar
Discard
Related Posts Replies Views Activity
2
Dec 23
11993
0
Oct 23
33
3
Oct 23
787
1
Oct 23
569
1
Aug 23
978