mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-19 22:32:04 +02:00
12 lines
353 B
Python
12 lines
353 B
Python
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import models
|
|
|
|
|
|
class POSSession(models.Model):
|
|
_inherit = "pos.session"
|
|
|
|
def _loader_params_res_partner(self):
|
|
res = super()._loader_params_res_partner()
|
|
res["search_params"]["fields"].extend(["firstname", "lastname", "is_company"])
|
|
return res
|