Commit 4ddbc8ff authored by Jérome Perrin's avatar Jérome Perrin

Change PackingList_viewSolveActionsDialog dialog title to match the action name.

Translate portal status message in PackingList_doSolveActions.
Proxify quantity fields in PackingList_viewSolveActionsDialog.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22615 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d2ccf66c
......@@ -82,7 +82,7 @@ if listbox is not None:\n
quantity = line[\'quantity\']\n
movement = context.restrictedTraverse(url)\n
movement.setProperty(\'quantity\', quantity, type=\'float\')\n
choice = line[\'choice\'] \n
choice = line[\'choice\']\n
if choice == \'SplitAndDefer\':\n
split_and_defer = 1\n
context.portal_simulation.solveMovement(movement, None, "SplitAndDefer", start_date=start_date, stop_date=stop_date, activate_kw={\'tag\':tag})\n
......@@ -106,9 +106,9 @@ if listbox is not None:\n
delivery_builder.activate(activity=\'SQLQueue\',after_tag=tag).build(explanation_uid=explanation_uid_list)\n
\n
\n
redirect_url = \'%s/%s?%s\' % (context.absolute_url(), form_id, \n
\'portal_status_message=Sale+Packing+List+updated.\')\n
context.REQUEST[ \'RESPONSE\' ].redirect( redirect_url )\n
_ = context.Base_translateString\n
return context.Base_redirect(form_id, keep_items=\n
dict(portal_status_message=_(\'Packing List updated.\')))\n
</string> </value>
</item>
<item>
......@@ -182,7 +182,8 @@ context.REQUEST[ \'RESPONSE\' ].redirect( redirect_url )\n
<string>order_portal_type</string>
<string>delivery_builder</string>
<string>explanation_uid_list</string>
<string>redirect_url</string>
<string>_</string>
<string>dict</string>
</tuple>
</value>
</item>
......
......@@ -52,6 +52,16 @@
<key> <string>action</string> </key>
<value> <string>PackingList_doSolveActions</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
......@@ -142,7 +152,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Solve Actions</string> </value>
<value> <string>Choose Solve Actions</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
435
\ No newline at end of file
436
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment