Hello,
I want to inherit this table below in POS and add a column.
If you click on Refund Button it will get you to this table.
How do I go about this?
Thanks in advance.
Here is my code.
class PosSession(models.Model):
_inherit = 'pos.session'
def _loader_params_pos_order(self):
result = super()._loader_params_pos_order()
result['search_params']['fields'].append('name')
return result