|
@ -200,8 +200,10 @@ class operation_request(models.Model): |
|
|
|
|
|
|
|
|
values = { |
|
|
values = { |
|
|
'partner_id': rec.partner_id.id, 'quantity': rec.quantity, |
|
|
'partner_id': rec.partner_id.id, 'quantity': rec.quantity, |
|
|
'share_product_id': rec.share_product_id.id, 'type': rec.operation_type, |
|
|
|
|
|
'share_unit_price': rec.share_unit_price, 'date': effective_date, |
|
|
|
|
|
|
|
|
'share_product_id': rec.share_product_id.id, |
|
|
|
|
|
'type': rec.operation_type, |
|
|
|
|
|
'share_unit_price': rec.share_unit_price, |
|
|
|
|
|
'date': effective_date, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if rec.operation_type == 'sell_back': |
|
|
if rec.operation_type == 'sell_back': |
|
|