I would like to create a new record here instead of overwriting
if sale_line_id:
sale_line_id.move_ids.filtered(lambda x: x.state in ['confirmed', 'assigned']).write(
{'quantity_done': float(line_dict.get('Qty')), })
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I would like to create a new record here instead of overwriting
if sale_line_id:
sale_line_id.move_ids.filtered(lambda x: x.state in ['confirmed', 'assigned']).write(
{'quantity_done': float(line_dict.get('Qty')), })
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.