Начальное наполнение
This commit is contained in:
parent
4e2a8951d5
commit
209835ee66
2
__init__.py
Normal file
2
__init__.py
Normal file
@ -0,0 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
21
__manifest__.py
Normal file
21
__manifest__.py
Normal file
@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
|
||||
{
|
||||
'name': 'POS HR Restaurant',
|
||||
'version': '1.0',
|
||||
'category': 'Hidden',
|
||||
'summary': 'Link module between pos_hr and pos_restaurant',
|
||||
'description': """
|
||||
This module adapts the behavior of the PoS when the pos_hr and pos_restaurant are installed.
|
||||
""",
|
||||
'depends': ['pos_hr', 'pos_restaurant'],
|
||||
'auto_install': True,
|
||||
'assets': {
|
||||
'point_of_sale._assets_pos': [
|
||||
'pos_hr_restaurant/static/src/**/*',
|
||||
],
|
||||
},
|
||||
'license': 'LGPL-3',
|
||||
}
|
15
i18n/pos_hr_restaurant.pot
Normal file
15
i18n/pos_hr_restaurant.pot
Normal file
@ -0,0 +1,15 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 17.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-10-26 21:55+0000\n"
|
||||
"PO-Revision-Date: 2023-10-26 21:55+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
11
static/src/overrides/models/pos_store.js
Normal file
11
static/src/overrides/models/pos_store.js
Normal file
@ -0,0 +1,11 @@
|
||||
/* @odoo-module */
|
||||
|
||||
import { patch } from "@web/core/utils/patch";
|
||||
import "@pos_restaurant/overrides/models/pos_store";
|
||||
import { PosStore } from "@point_of_sale/app/store/pos_store";
|
||||
|
||||
patch(PosStore.prototype, {
|
||||
shouldResetIdleTimer() {
|
||||
return this.tempScreen?.name !== "LoginScreen" && super.shouldResetIdleTimer(...arguments);
|
||||
},
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user