Hi friends,
Have to duplicate sale quotation record of same even after confirms the sale order.How to achieve it when confim sale button clicks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi friends,
Have to duplicate sale quotation record of same even after confirms the sale order.How to achieve it when confim sale button clicks.
You could call to the copy method wich will create a copy of the current record and return you the new id. The copy method also could receive a dict of values for the new record if you wanna change something for the new record values like:
move_id = self.copy(cr, uid, move.id, {'product_uos_qty': product_uos_qty, 'product_qty': r[0], 'location_id': r[1]})
or
temp_id = self.copy(cr, uid, this.id, None, context=context)
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
0
Okt 24
|
1025 | ||
|
0
Mar 15
|
4592 | ||
|
2
Mar 15
|
10598 | ||
|
0
Apr 24
|
1434 | ||
|
2
Des 15
|
4428 |