mirror of
https://github.com/bringout/oca-ocb-pos.git
synced 2026-04-23 12:21:59 +02:00
Initial commit: Pos packages
This commit is contained in:
commit
95dfb9edb0
1301 changed files with 264148 additions and 0 deletions
13
odoo-bringout-oca-ocb-pos_six/pos_six/models/pos_session.py
Normal file
13
odoo-bringout-oca-ocb-pos_six/pos_six/models/pos_session.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class PosSession(models.Model):
|
||||
_inherit = 'pos.session'
|
||||
|
||||
def _loader_params_pos_payment_method(self):
|
||||
result = super()._loader_params_pos_payment_method()
|
||||
result['search_params']['fields'].append('six_terminal_ip')
|
||||
return result
|
||||
Loading…
Add table
Add a link
Reference in a new issue