Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
odoo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
odoo
Commits
d70ec7c1
Commit
d70ec7c1
authored
Feb 23, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parameter changed
parent
832245d2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
6 deletions
+11
-6
ir_config_parameter_data.xml
...te_addons/lacagette_cpo/data/ir_config_parameter_data.xml
+0
-4
__openerp__.py
lacagette_addons/lacagette_custom_pos/__openerp__.py
+2
-0
ir_config_parameter_data.xml
...ns/lacagette_custom_pos/data/ir_config_parameter_data.xml
+7
-0
backend.js
...ette_addons/lacagette_custom_pos/static/src/js/backend.js
+2
-2
No files found.
lacagette_addons/lacagette_cpo/data/ir_config_parameter_data.xml
View file @
d70ec7c1
...
...
@@ -4,8 +4,4 @@
<field
name=
"key"
>
lacagette_cpo.proxy_url
</field>
<field
name=
"value"
>
https://tools.lacagette-coop.fr/inventory/inventory/generate_inventory_list
</field>
</record>
<record
id=
"reduce_pos_members_search"
model=
"ir.config_parameter"
>
<field
name=
"key"
>
lacagette_cpo.reduce_pos_members_search
</field>
<field
name=
"value"
>
False
</field>
</record>
</odoo>
lacagette_addons/lacagette_custom_pos/__openerp__.py
View file @
d70ec7c1
...
...
@@ -7,6 +7,8 @@
'description'
:
"""
Recherche par num. de coop
\n
(la recherche inclut le code barre ou non,
\n
le réglage se fait avec la clé lacagette_custom_pos.reduce_pos_members_search)
\n
Après une recherche, le champ perd le focus
\n
Utilisation du pavé numérique du clavier sur le panier
\n
Personnalisation de la popup d'erreur "codebarre non reconnu" :
\n
...
...
lacagette_addons/lacagette_custom_pos/data/ir_config_parameter_data.xml
0 → 100644
View file @
d70ec7c1
<?xml version="1.0"?>
<odoo
noupdate=
"0"
>
<record
id=
"reduce_pos_members_search"
model=
"ir.config_parameter"
>
<field
name=
"key"
>
lacagette_custom_pos.reduce_pos_members_search
</field>
<field
name=
"value"
>
False
</field>
</record>
</odoo>
lacagette_addons/lacagette_custom_pos/static/src/js/backend.js
View file @
d70ec7c1
...
...
@@ -9,7 +9,7 @@ odoo.define('lacagette_custom_pos.DB', function(require) {
PosDB
.
include
({
init
:
function
(
parent
,
options
){
this
.
_super
(
parent
,
options
);
config_parameter
.
call
(
'get_param'
,
[
'lacagette_c
po
.reduce_pos_members_search'
])
config_parameter
.
call
(
'get_param'
,
[
'lacagette_c
ustom_pos
.reduce_pos_members_search'
])
.
then
(
function
(
param
){
if
(
param
!=
undefined
)
{
reduce_pos_members_search
=
param
;
...
...
@@ -26,7 +26,7 @@ odoo.define('lacagette_custom_pos.DB', function(require) {
console
.
log
(
e
)
}
if
(
reduce_pos_members_search
===
'
Tru
e'
)
{
if
(
reduce_pos_members_search
===
'
Fals
e'
)
{
if
(
partner
.
barcode
){
str
+=
'|'
+
partner
.
barcode
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment