mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-21 21:12:04 +02:00
13 lines
344 B
Python
13 lines
344 B
Python
# Copyright 2019 Roberto Fichera
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import api, models
|
|
|
|
|
|
class ResPartner(models.Model):
|
|
_inherit = "res.partner"
|
|
|
|
@api.model
|
|
def get_names_order(self):
|
|
"""Allow POS frontend to retrieve 'partner_names_order'"""
|
|
return self._get_names_order()
|