mirror of
https://github.com/bringout/oca-ocb-pos.git
synced 2026-04-23 23:42:04 +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,14 @@
|
|||
/* @odoo-module alias=pos_restaurant_hr.chrome */
|
||||
|
||||
import Chrome from 'point_of_sale.Chrome';
|
||||
import Registries from 'point_of_sale.Registries';
|
||||
|
||||
|
||||
export const PosHrRestaurantChrome = (Chrome) => class extends Chrome {
|
||||
//@override
|
||||
_shouldResetIdleTimer() {
|
||||
return super._shouldResetIdleTimer() && this.tempScreen.name !== 'LoginScreen';
|
||||
}
|
||||
}
|
||||
|
||||
Registries.Component.extend(Chrome, PosHrRestaurantChrome);
|
||||
Loading…
Add table
Add a link
Reference in a new issue