mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-23 10:52:05 +02:00
13 lines
383 B
Python
13 lines
383 B
Python
# Copyright 2024 Tecnativa - Carlos Lopez
|
|
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
|
|
|
|
from odoo import models
|
|
|
|
|
|
class PosSession(models.Model):
|
|
_inherit = "pos.session"
|
|
|
|
def _loader_params_product_product(self):
|
|
res = super()._loader_params_product_product()
|
|
res["search_params"]["fields"].append("supplier_data_json")
|
|
return res
|