Odoo18-Base/addons/l10n_pe_pos/models/res_city.py
2025-01-06 10:57:38 +07:00

12 lines
318 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, models
class ResCity(models.Model):
_name = "res.city"
_inherit = ["res.city", "pos.load.mixin"]
@api.model
def _load_pos_data_fields(self, config_id):
return ["name", "country_id", "state_id"]