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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
erp5
Commits
d0833feb
Commit
d0833feb
authored
Jan 04, 2019
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start date is inventory date
parent
92b46479
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
3 deletions
+36
-3
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/InventoryReport_createInternalSupply.py
..._skins/erp5_trade/InventoryReport_createInternalSupply.py
+2
-1
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/InventoryReport_createInternalSupply.xml
...skins/erp5_trade/InventoryReport_createInternalSupply.xml
+1
-1
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/InventoryReport_viewCreateInternalSupplyDialog/your_start_date_range_min.xml
...wCreateInternalSupplyDialog/your_start_date_range_min.xml
+33
-1
No files found.
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/InventoryReport_createInternalSupply.py
View file @
d0833feb
...
...
@@ -6,7 +6,7 @@ internal_supply.edit(
source_section
=
destination_section
,
destination_section
=
destination_section
,
price_currency
=
context
.
getDestinationSectionValue
().
getPriceCurrency
(),
start_date_range_min
=
start_date_range_min
,
start_date_range_min
=
context
.
getAtDate
()
,
start_date_range_max
=
start_date_range_max
)
resource_dict
=
{}
...
...
@@ -38,6 +38,7 @@ for key in resource_dict:
tmp
=
inventory_report_line
.
getVariationCategoryList
()
base_id
=
'path'
for
index
in
range
(
len
(
tmp
)):
#get id like path_0_1_0
base_id
=
base_id
+
'_'
+
str
(
range_list
[
index
].
index
(
tmp
[
index
]))
cell
=
internal_supply_line
.
newContent
(
portal_type
=
'Internal Supply Cell'
,
...
...
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/InventoryReport_createInternalSupply.xml
View file @
d0833feb
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
start_date_range_m
in, start_date_range_m
ax,**kw
</string>
</value>
<value>
<string>
start_date_range_max,**kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/InventoryReport_viewCreateInternalSupplyDialog/your_start_date_range_min.xml
View file @
d0833feb
...
...
@@ -9,7 +9,10 @@
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list/>
<list>
<string>
default
</string>
<string>
editable
</string>
</list>
</value>
</item>
<item>
...
...
@@ -50,6 +53,12 @@
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
extra_context
</string>
</key>
<value>
<string></string>
</value>
...
...
@@ -69,6 +78,16 @@
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
extra_context
</string>
</key>
<value>
...
...
@@ -89,4 +108,17 @@
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python:here.getAtDate()
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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