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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Mukul
erp5
Commits
43faf0e8
Commit
43faf0e8
authored
Jul 01, 2016
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Inventory API: expose order_id in movement history list"
This reverts commit
4afface0
. One can just use select_dict
parent
4afface0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml
...rtal_skins/erp5_core/Resource_zGetMovementHistoryList.xml
+0
-1
product/ERP5/tests/testInventoryAPI.py
product/ERP5/tests/testInventoryAPI.py
+0
-3
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml
View file @
43faf0e8
...
@@ -490,7 +490,6 @@ FROM (\n
...
@@ -490,7 +490,6 @@ FROM (\n
SELECT DISTINCT\n
SELECT DISTINCT\n
catalog.path as path,\n
catalog.path as path,\n
catalog.uid as uid,\n
catalog.uid as uid,\n
stock.order_id as order_id,\n
catalog.relative_url as relative_url,\n
catalog.relative_url as relative_url,\n
stock.date AS date_utc,\n
stock.date AS date_utc,\n
stock.mirror_date AS mirror_date_utc,\n
stock.mirror_date AS mirror_date_utc,\n
...
...
product/ERP5/tests/testInventoryAPI.py
View file @
43faf0e8
...
@@ -1566,9 +1566,6 @@ class TestMovementHistoryList(InventoryAPITestCase):
...
@@ -1566,9 +1566,6 @@ class TestMovementHistoryList(InventoryAPITestCase):
self
.
assertTrue
(
hasattr
(
brain
,
'resource_relative_url'
))
self
.
assertTrue
(
hasattr
(
brain
,
'resource_relative_url'
))
self
.
assertEqual
(
brain
.
resource_relative_url
,
self
.
resource
.
getRelativeUrl
())
self
.
assertEqual
(
brain
.
resource_relative_url
,
self
.
resource
.
getRelativeUrl
())
# order_id is exposed on brains, useful to generate unique id, using "{uid}-{order_id}"
self
.
assertTrue
(
hasattr
(
brain
,
'order_id'
))
def
testBrainGetItem
(
self
):
def
testBrainGetItem
(
self
):
"""Test __getitem__ interface on brains."""
"""Test __getitem__ interface on brains."""
...
...
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