[FIX] account: accessing payment through invoice showing proper dropdown
action options Steps to reproduce: - Install Accounting - Go to Accounting > Create New Invoice > Fill it and confirm. - Reister a payment for the invoice. - Click on the "i" icon next to the total (bottom right). - And in the popup window click on "View" Issue: When we open the payment from the invoice, the dropdown action options are not properly displayed, we cannot delete or duplicate the payment until we refresh the page. Solution: We removed the context (which was setting some options to false) from the action that is used to open the payment through that view. opw-3092601 closes odoo/odoo#108963 X-original-commit: 7aa635fe74a8593379bc62466ea99af26eae3b52 Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
@@ -3373,10 +3373,6 @@ class AccountMove(models.Model):
|
||||
'views': [(False, 'form')],
|
||||
'res_model': res_model,
|
||||
'res_id': res_id,
|
||||
'context': {
|
||||
'create': False,
|
||||
'delete': False,
|
||||
},
|
||||
'target': 'current',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user