mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-23 03:52:10 +02:00
12 lines
330 B
Python
12 lines
330 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"].append("birthdate_date")
|
|
return res
|