콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2201 화면

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

아바타
취소
관련 게시물 답글 화면 활동
2
12월 23
15077
0
10월 23
33
3
10월 23
790
1
10월 23
569
1
8월 23
2649