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
Labels
Merge Requests
142
Merge Requests
142
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
d6f08712
Commit
d6f08712
authored
Jun 11, 2015
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
item: use temp delivery line to allow edition of quantities on create item fast input
parent
90897d05
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/DeliveryLine_getTempItemList.xml
...al_skins/erp5_item_trade/DeliveryLine_getTempItemList.xml
+2
-2
No files found.
bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/DeliveryLine_getTempItemList.xml
View file @
d6f08712
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
from Products.ERP5Type.Document import newTemp
Bas
e\n
<value>
<string>
from Products.ERP5Type.Document import newTemp
DeliveryLin
e\n
portal = context.getPortalObject()\n
portal = context.getPortalObject()\n
\n
\n
try:\n
try:\n
...
@@ -61,7 +61,7 @@ except ValueError:\n
...
@@ -61,7 +61,7 @@ except ValueError:\n
result = []\n
result = []\n
\n
\n
for i in range(count):\n
for i in range(count):\n
obj = newTemp
Bas
e(portal, id="tmp_item_%s" % i, uid="new_item_%s" % i)\n
obj = newTemp
DeliveryLin
e(portal, id="tmp_item_%s" % i, uid="new_item_%s" % i)\n
result.append(obj)\n
result.append(obj)\n
\n
\n
return result\n
return result\n
...
...
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