mirror of
https://github.com/bringout/oca-ocb-pos.git
synced 2026-04-20 07:02:01 +02:00
Initial commit: Pos packages
This commit is contained in:
commit
95dfb9edb0
1301 changed files with 264148 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from . import main
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from odoo.addons.point_of_sale.controllers.main import PosController
|
||||
from odoo import http
|
||||
from odoo.http import request
|
||||
|
||||
|
||||
class PosCache(PosController):
|
||||
|
||||
@http.route()
|
||||
def load_onboarding_data(self):
|
||||
super().load_onboarding_data()
|
||||
request.env["pos.cache"].refresh_all_caches()
|
||||
Loading…
Add table
Add a link
Reference in a new issue