Skip to Content
Menu
This question has been flagged
1557 Views

I want to pass the added data to this product table or to another one2many field in which automatically shows the data already entered in the table
 productt_ids
class DiningRoom(models.Model):

    _name = 'dining.room'
    _order = 'create_date desc'

    

  product_ids = fields.One2many('dining.room.order', 'order_id', string='Productos', required=True, copy=True, store=True)
    
Avatar
Discard