hello everyone
this is my code:-
class bookingschedual(models.model):
_name = 'booking.schedule'
partner_id = fields.Many2one(res.partner, string=customer)
sale_ids = fields.Many2many("sale.order", 'sale_order_rel', "booking_id", "sale_id", string="sale order")
sale_orders = fields.Many2many("sale.order", "booking_sale_rel","booking_id_rec","sale_id_rec",string="sale ids")
in this code when i select one res.partner in partner_id field i got this res.partner's sale order in sale_ids field .
now i want the same value in sale_orders field on click after save button .
how can i do this
thanks in advance
if any question msg me on skype:- kg songra