Hi, I don't know if this is possible in Odoo 13
I don't know if this is possible in Odoo 13, to update the values of the tree view of sales when I change the pricelist clicking in a button
For example.
I have selected pricelist 1 where my product demo is set to 10 usd.
I add my product and then I realized than I should use the pricelist 2 where the product price is 20usd.
I added a button called "Update price" and added the function
def action_refresh(self):
return {
'type': 'ir.actions.client',
'tag': 'reload',
}
but this refresh the page and no the value of the price.
What should I do so is updated when I clic on the button? I know that I could delete it and add it again but Im thinking in a scenary where I added like 100 products or so
Thank you in advance.