mirror of
https://github.com/bringout/oca-ocb-pos.git
synced 2026-04-23 15:22:00 +02:00
13 lines
388 B
Python
13 lines
388 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models, api
|
|
|
|
|
|
class PosSession(models.Model):
|
|
_inherit = 'pos.session'
|
|
|
|
@api.model
|
|
def _load_pos_data_models(self, config):
|
|
data = super()._load_pos_data_models(config)
|
|
data += ['loyalty.program', 'loyalty.rule', 'loyalty.reward', 'loyalty.card']
|
|
return data
|