Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
f5d6c5ff
Commit
f5d6c5ff
authored
Mar 10, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mrp: fix pylint messages and enable coding style test
parent
1101c73e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ManufacturingExecutionLine_asCellRange.py
..._skins/erp5_mrp/ManufacturingExecutionLine_asCellRange.py
+3
-3
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrderModule_generateSpecialiseDomain.py
...rp5_mrp/ProductionOrderModule_generateSpecialiseDomain.py
+0
-2
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_printAsODT.py
...eItem/portal_skins/erp5_mrp/ProductionOrder_printAsODT.py
+2
-0
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_printAsODT.py
...portal_skins/erp5_mrp/ProductionPackingList_printAsODT.py
+2
-0
bt5/erp5_mrp/bt/skip_coding_style_test
bt5/erp5_mrp/bt/skip_coding_style_test
+0
-1
No files found.
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ManufacturingExecutionLine_asCellRange.py
View file @
f5d6c5ff
...
...
@@ -5,12 +5,12 @@ if resource is not None:
omit_optional_variation
=
1
)
for
base_category
in
base_category_list
:
if
matrixbox
==
1
:
if
matrixbox
:
# XXX matrixbox is right_display (not as listfield) => invert display and value in item
cell_range
.
append
(
map
(
lambda
x
:
(
x
[
1
],
x
[
0
]),
context
.
getVariationCategoryItemList
(
base_category_list
=
(
base_category
,)
)
)
)
cell_range
.
append
(
[(
x
[
1
],
x
[
0
])
for
x
in
context
.
getVariationCategoryItemList
(
base_category_list
=
(
base_category
,))]
)
else
:
cell_range
.
append
(
context
.
getVariationCategoryList
(
base_category_list
=
(
base_category
,)
)
)
cell_range
=
filter
(
lambda
x
:
x
!=
[],
cell_range
)
cell_range
=
[
x
for
x
in
cell_range
if
x
!=
[]]
return
cell_range
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrderModule_generateSpecialiseDomain.py
View file @
f5d6c5ff
request
=
context
.
REQUEST
domain_list
=
[]
supply_chain_module
=
context
.
getPortalObject
().
supply_chain_module
if
depth
==
0
:
category_list
=
[]
for
q
in
context
.
ProductionOrderModule_getSelectionProductionOrderList
():
...
...
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_printAsODT.py
View file @
f5d6c5ff
# this API uses format=
# pylint: disable=redefined-builtin
if
target_language
:
container
.
REQUEST
[
'AcceptLanguage'
].
set
(
target_language
,
10
)
...
...
bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionPackingList_printAsODT.py
View file @
f5d6c5ff
# this API uses format=
# pylint: disable=redefined-builtin
if
target_language
:
container
.
REQUEST
[
'AcceptLanguage'
].
set
(
target_language
,
10
)
...
...
bt5/erp5_mrp/bt/skip_coding_style_test
deleted
100644 → 0
View file @
1101c73e
1
\ No newline at end of file
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