Commit 3dec3710 authored by Aurel's avatar Aurel

Commit generic fast input for Sale/Purchase/Internal Order & Packing List plus Inventory

Remove former fast input

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36378 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0313a11d
......@@ -43,7 +43,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>inventory_fast_input</string> </value>
<value> <string>fast_input</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
......@@ -63,7 +63,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Inventory Fast Input</string> </value>
<value> <string>Add Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......@@ -83,7 +83,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Inventory_viewInventoryFastInputDialog</string> </value>
<value> <string>string:${object_url}/Delivery_viewDeliveryFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_fast_input</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_fast_input</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fast_input_update</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Update Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Delivery_viewDeliveryUpdateFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -43,7 +43,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>sale_packing_list_fast_input</string> </value>
<value> <string>fast_input</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
......@@ -63,7 +63,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Sale Packing List Fast Input</string> </value>
<value> <string>Add Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......@@ -83,7 +83,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/SalePackingList_viewSalePackingListFastInputDialog</string> </value>
<value> <string>string:${object_url}/Delivery_viewDeliveryFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_fast_input</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_fast_input</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fast_input_update</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Update Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Delivery_viewDeliveryUpdateFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -43,7 +43,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>sale_order_fast_input</string> </value>
<value> <string>fast_input</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
......@@ -53,13 +53,17 @@
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>23.0</float> </value>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Sale Order Fast Input</string> </value>
<value> <string>Add Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......@@ -79,7 +83,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/SaleOrder_viewSaleOrderFastInputDialog</string> </value>
<value> <string>string:${object_url}/Delivery_viewDeliveryFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_fast_input</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_fast_input</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fast_input_update</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Update Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Delivery_viewDeliveryUpdateFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_fast_input</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_fast_input</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fast_input</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Add Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Delivery_viewDeliveryFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_fast_input</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_fast_input</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fast_input_update</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Update Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Delivery_viewDeliveryUpdateFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_fast_input</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_fast_input</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fast_input</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Add Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Delivery_viewDeliveryFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_fast_input</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_fast_input</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fast_input_update</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Update Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Delivery_viewDeliveryUpdateFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_fast_input</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_fast_input</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fast_input</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Add Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Delivery_viewDeliveryFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_fast_input</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_fast_input</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fast_input_update</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Update Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Delivery_viewDeliveryUpdateFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_fast_input</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_fast_input</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fast_input</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Add Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Delivery_viewDeliveryFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_fast_input</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_fast_input</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fast_input_update</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Add portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Update Delivery Line</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Delivery_viewDeliveryUpdateFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -307,6 +307,8 @@
<string>my_report_mode_report_box</string>
<string>my_view_mode_preferred_trade_base_amount_list</string>
<string>my_view_mode_movement_use</string>
<string>my_view_mode_listbox_resource_relative_url</string>
<string>my_view_mode_listbox_movement_relative_url</string>
</list>
</value>
</item>
......
......@@ -13,8 +13,9 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>hash_script_id</string>
<string>items</string>
<string>title</string>
</list>
</value>
</item>
......@@ -74,6 +75,10 @@
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
......@@ -83,12 +88,22 @@
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_list_field</string> </value>
<value> <string>my_parallel_list_field</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>hash_script_id</string> </key>
<value> <string>Base_hashCategoryList</string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
......@@ -114,7 +129,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(\'\', \'\')] + [(x.getTitle(), x.getRelativeUrl()) for x in here.portal_catalog(portal_type=[\'Product Individual Variation\',\'Service Individual Variation\'])]</string> </value>
<value> <string>python: cell.getVariationRangeCategoryList()</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>first_item</string>
<string>items</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_view_mode_listbox_movement_relative_url</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_string_field</string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Movement</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.Delivery_getResourceItemList(validation_state=\'validated\', portal_type=[\'Service\', \'Product\'], cell=cell)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>first_item</string>
<string>items</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_view_mode_listbox_resource_relative_url</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_category</string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Resource</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.Delivery_getResourceItemList(validation_state=\'validated\', portal_type=[\'Service\', \'Product\'], cell=cell)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -56,7 +56,6 @@
<value> <string># Remove empty items\n
item_list = filter(lambda x: x not in [(\'\',\'\'), [\'\',\'\']],\\\n
item_list)\n
\n
sub_field_dict = {}\n
split_depth = 1\n
resource = context.getResourceValue()\n
......@@ -69,7 +68,6 @@ else :\n
for item in item_list:\n
# Get value of the item\n
item_value = item[int(not is_right_display)]\n
\n
# Hash key from item_value\n
item_split = string.split(item_value, \'/\')\n
item_key = string.join(item_split[:split_depth] , \'/\' )\n
......@@ -83,17 +81,17 @@ for item in item_list:\n
if base_category in not_option_base_category_list:\n
required_value = 1\n
sub_field_property_dict[\'required\'] = required_value\n
sub_field_property_dict[\'field_type\'] = \'MultiListField\'\n
sub_field_property_dict[\'size\'] = 5\n
sub_field_property_dict[\'field_type\'] = \'ListField\'\n
sub_field_property_dict[\'size\'] = 1\n
sub_field_property_dict[\'item_list\'] = [(\'\',\'\')]\n
sub_field_property_dict[\'value\'] = []\n
sub_field_dict[item_key] = sub_field_property_dict\n
\n
sub_field_dict[item_key][\'item_list\'] =\\\n
sub_field_dict[item_key][\'item_list\'] + [item]\n
if item_value in value_list:\n
sub_field_dict[item_key][\'value\'] =\\\n
sub_field_dict[item_key][\'value\'] + [item_value]\n
\n
if item in value_list:\n
sub_field_dict[item_key][\'value\'] = item\n
\n
return sub_field_dict.values()\n
</string> </value>
......
......@@ -53,80 +53,189 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>"""\n
This script creates a list of empty lines when called for\n
the first time.When called the next time, it displays on \n
the fast input all documents lines already added and \n
updates them based on fast input entries.\n
<value> <string encoding="cdata"><![CDATA[
"""\n
This script creates a list of empty lines when called with\n
read_document_lines to False. Otherwise, it displays on \n
the fast input all documents lines already added\n
"""\n
from Products.ERP5Type.Document import newTempBase\n
portal = context.getPortalObject()\n
getobject = portal.portal_catalog.getobject\n
request = context.REQUEST\n
trade_document = context\n
result = []\n
line_list = context.contentValues(portal_type=line_portal_type)\n
\n
source_section = context.getSourceSectionValue()\n
if no_inventory is False and source_section is None:\n
# Retrieve lines portal type\n
line_portal_type_list = [x for x in context.getTypeInfo().getTypeAllowedContentTypeList() \\\n
if x in context.getPortalMovementTypeList()]\n
line_portal_type = line_portal_type_list[0]\n
\n
if read_document_lines:\n
line_list = context.contentValues(portal_type=line_portal_type)\n
else:\n
line_list = []\n
\n
use_list = []\n
# Check if the section and use preference are defined\n
if line_portal_type in context.getPortalSaleTypeList():\n
section_uid = context.getSourceSectionUid()\n
use_list = context.portal_preferences.getPreferredSaleUseList()\n
elif line_portal_type in context.getPortalPurchaseTypeList():\n
section_uid = context.getDestinationSectionUid()\n
use_list = context.portal_preferences.getPreferredPurchaseUseList()\n
elif line_portal_type in context.getPortalInternalTypeList() + context.getPortalInventoryMovementTypeList():\n
section_uid = ""\n
use_list = context.portal_preferences.getPreferredPurchaseUseList() + \\\n
context.portal_preferences.getPreferredSaleUseList()\n
else:\n
from Products.ERP5Type.Message import translateString\n
return context.Base_redirect(\'view\', keep_items=dict(\n
portal_status_message=translateString(\'Type of document not known to retrieve section.\')))\n
\n
if len(use_list) == 0:\n
from Products.ERP5Type.Message import translateString\n
return context.Base_redirect(\'view\', keep_items=dict(\n
portal_status_message=translateString(\'Use preference must be defined.\')))\n
\n
if section_uid is None:\n
from Products.ERP5Type.Message import translateString\n
return context.Base_redirect(\'view\', keep_items=dict(\n
portal_status_message=translateString(\'Source section must be defined.\')))\n
portal_status_message=translateString(\'Section must be defined.\')))\n
\n
len_line_list = len(line_list)\n
used_id = [] # list use to make sure we do not generate two line with same uid\n
used_id = [] # list use to make sure we do not generate two line with same id/uid\n
used_id_append = used_id.append\n
result_append = result.append\n
\n
# first browse document\'s lines\n
if len_line_list!=0:\n
for line in line_list:\n
obj=trade_document.newContent(portal_type=line_portal_type,\n
id=line.getId(),\n
uid="new_%s" % line.getId(),\n
for line in line_list:\n
resource = line.getResourceValue()\n
\n
line_id = int(line.getId())\n
\n
# First check if cells are defined\n
cell_list = line.getCellValueList()\n
if len(cell_list):\n
for cell in cell_list:\n
while line_id in used_id:\n
# do not used an id from previously generated lines\n
line_id+=1\n
context.log("inventory values a = %s, c = %s, f = %s" %(resource.getAvailableInventory(\n
section_uid=section_uid,\n
variation_text=cell.getVariationText()),\n
resource.getCurrentInventory(\n
section_uid=section_uid,\n
variation_text=cell.getVariationText()),\n
resource.getInventory(\n
section_uid=section_uid,\n
variation_text=cell.getVariationText())))\n
\n
obj = trade_document.newContent(portal_type=line_portal_type,\n
id=line_id,\n
source=cell.getRelativeUrl(), # use as a link to the already create line/cell\n
uid="new_%s" % line_id,\n
temp_object=1,\n
is_indexable=0,)\n
used_id.append(int(line.getId()))\n
is_indexable=0,\n
title=resource.getTitle(),\n
resource_value=resource,\n
reference=resource.getReference(),\n
quantity=cell.getQuantity(),\n
price=cell.getPrice(),\n
total_price=cell.getTotalPrice(),\n
variation_category_list = cell.getVariationCategoryList(),\n
available_quantity=resource.getAvailableInventory(\n
section_uid=section_uid,\n
variation_text=cell.getVariationText()),\n
current_quantity=resource.getCurrentInventory(\n
section_uid=section_uid,\n
variation_text=cell.getVariationText()),\n
inventory=resource.getInventory(\n
section_uid=section_uid,\n
variation_text=cell.getVariationText()))\n
result_append(obj)\n
used_id_append(line_id)\n
else:\n
while line_id in used_id:\n
# do not used an id from previously generated lines\n
line_id+=1\n
context.log("inventory values a = %s, c = %s, f = %s" %(resource.getAvailableInventory(\n
section_uid=section_uid,\n
variation_text=line.getVariationText()),\n
resource.getCurrentInventory(\n
section_uid=section_uid,\n
variation_text=line.getVariationText()),\n
resource.getInventory(\n
section_uid=section_uid,\n
variation_text=line.getVariationText())))\n
\n
obj.edit(title=line.getResourceTitle(),\n
reference=line.getResourceReference(),\n
obj = trade_document.newContent(portal_type=line_portal_type,\n
id=line_id,\n
uid="new_%s" % line_id,\n
source=line.getRelativeUrl(),\n
temp_object=1,\n
is_indexable=0,\n
title=resource.getTitle(),\n
resource_value=resource,\n
reference=resource.getReference(),\n
quantity=line.getQuantity(),\n
quantity_unit=line.getQuantityUnitList(),\n
price = line.getPrice(),\n
total_price=line.getTotalPrice(),\n
)\n
if no_inventory is False:\n
obj.edit(\n
getAvailableInventory=line.getResourceValue().getAvailableInventory(\n
section_uid=source_section.getUid(),\n
variation_category_list = line.getVariationCategoryList(),\n
available_quantity=resource.getAvailableInventory(\n
section_uid=section_uid,\n
variation_text=line.getVariationText()),\n
getCurrentInventory=line.getResourceValue().getCurrentInventory(\n
section_uid=source_section.getUid(),\n
current_quantity=resource.getCurrentInventory(\n
section_uid=section_uid,\n
variation_text=line.getVariationText()),\n
inventory=line.getResourceValue().getInventory(\n
section_uid=source_section.getUid(),\n
inventory=resource.getInventory(\n
section_uid=section_uid,\n
variation_text=line.getVariationText()))\n
result.append(obj)\n
\n
# then fill the remaining lines with empty ones\n
for i in range(len_line_list+1,lines_num+1):\n
resource_relative_url = getattr(request,"field_listbox_resource_relative_url_new_%s"%i,None)\n
result_append(obj)\n
used_id_append(line_id)\n
\n
# then add empty lines\n
empty_line_cpt = 1 # this counter is used so that we always add a fix\n
# number of empty lines into the listbox, thus user\n
# just have to click "update" to get new empty lines\n
i = len_line_list + 1\n
if read_document_lines is False:\n
while empty_line_cpt <= lines_num:\n
while i in used_id:\n
# do not used an id from previously generated lines\n
i+=1\n
# Retrieve values set by the update script\n
resource_relative_url = getattr(request,"field_listbox_resource_relative_url_new_%s"%i,None)\n
resource_title = getattr(request,"field_listbox_title_new_%s"%i,None)\n
reference = getattr(request,"field_listbox_reference_new_%s"%i,None)\n
\n
obj=trade_document.newContent(portal_type=line_portal_type,\n
id = i,\n
uid="new_%s" % i,\n
temp_object=1,\n
getAvailableInventory=0,\n
getCurrentInventory=0,\n
reference=None, # otherwise it is acquired on parent\n
is_indexable=0,)\n
used_id.append(i)\n
\n
used_id_append(i)\n
# Set values inputted by user\n
if resource_title not in (\'\',None):\n
empty_line_cpt -= 1\n
obj.edit(resource_title=resource_title)\n
if reference not in (\'\',None):\n
empty_line_cpt -= 1\n
obj.edit(reference=reference)\n
# if a resource is selected, use it\n
if resource_relative_url not in (\'\',None):\n
empty_line_cpt -= 1\n
resource = context.restrictedTraverse(resource_relative_url)\n
obj.setResourceValue(resource)\n
result.append(obj)\n
empty_line_cpt += 1\n
result_append(obj)\n
\n
return result\n
</string> </value>
]]></string> </value>
</item>
<item>
<key> <string>_code</string> </key>
......@@ -136,7 +245,7 @@ return result\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>line_portal_type, lines_num=10, no_inventory=False, **kw</string> </value>
<value> <string>lines_num=10, read_document_lines=False, **kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -156,45 +265,56 @@ return result\n
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>3</int> </value>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>line_portal_type</string>
<string>lines_num</string>
<string>no_inventory</string>
<string>read_document_lines</string>
<string>kw</string>
<string>Products.ERP5Type.Document</string>
<string>newTempBase</string>
<string>_getattr_</string>
<string>context</string>
<string>portal</string>
<string>getobject</string>
<string>request</string>
<string>trade_document</string>
<string>result</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string>
<string>x</string>
<string>line_portal_type_list</string>
<string>_getitem_</string>
<string>line_portal_type</string>
<string>line_list</string>
<string>source_section</string>
<string>False</string>
<string>None</string>
<string>use_list</string>
<string>section_uid</string>
<string>Products.ERP5Type.Message</string>
<string>translateString</string>
<string>dict</string>
<string>len</string>
<string>None</string>
<string>len_line_list</string>
<string>used_id</string>
<string>_getiter_</string>
<string>used_id_append</string>
<string>result_append</string>
<string>line</string>
<string>obj</string>
<string>resource</string>
<string>int</string>
<string>range</string>
<string>line_id</string>
<string>cell_list</string>
<string>cell</string>
<string>_inplacevar_</string>
<string>obj</string>
<string>empty_line_cpt</string>
<string>i</string>
<string>False</string>
<string>getattr</string>
<string>resource_relative_url</string>
<string>_inplacevar_</string>
<string>resource</string>
<string>resource_title</string>
<string>reference</string>
</tuple>
</value>
</item>
......
......@@ -53,9 +53,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>result = context.Delivery_getFastInputLineList(line_portal_type="Inventory Line", lines_num=10, no_inventory=True, **kw)\n
\n
return result\n
<value> <string>return context.Delivery_getFastInputLineList(read_document_lines=True, **kw)\n
</string> </value>
</item>
<item>
......@@ -97,7 +95,6 @@ return result\n
<string>_getattr_</string>
<string>context</string>
<string>True</string>
<string>result</string>
</tuple>
</value>
</item>
......@@ -114,7 +111,7 @@ return result\n
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Inventory_getFastInputInventoryLineList</string> </value>
<value> <string>Delivery_getFastInputLineListToUpdate</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
......
......@@ -53,9 +53,72 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>result = context.Delivery_getFastInputLineList(line_portal_type="Sale Order Line", lines_num=10, **kw)\n
<value> <string>from Products.ERP5Type.Cache import CachingMethod\n
\n
return result\n
\n
if context.getPortalType() in context.getPortalSaleTypeList():\n
use_list = context.portal_preferences.getPreferredSaleUseList()\n
elif context.getPortalType() in context.getPortalPurchaseTypeList():\n
use_list = context.portal_preferences.getPreferredPurchaseUseList()\n
else:\n
use_list = context.portal_preferences.getPreferredPurchaseUseList() + context.portal_preferences.getPreferredSaleUseList()\n
\n
if len(use_list) == 0:\n
return []\n
\n
sql_kw = {}\n
try:\n
resource_title = cell.resource_title\n
except AttributeError:\n
resource_title = None\n
try:\n
reference = cell.default_reference\n
except AttributeError:\n
reference = None\n
\n
if resource_title not in (None, ""):\n
sql_kw[\'title\'] = resource_title\n
if reference not in (None, ""):\n
sql_kw[\'reference\'] = reference\n
\n
\n
if len(sql_kw) == 0:\n
try:\n
if cell.getResourceValue() is not None:\n
sql_kw[\'reference\'] = cell.getResourceReference()\n
sql_kw[\'title\'] = cell.getResourceTitle()\n
else:\n
return [(\'\', \'\')]\n
except AttributeError:\n
pass\n
\n
def getResourceItemList(sql_kw):\n
portal = context.getPortalObject()\n
\n
result = []\n
for resource in portal.portal_catalog.searchResults(sort_on=((\'portal_type\', \'asc\'),\n
(\'title\', \'asc\')),\n
**sql_kw):\n
result.append(\n
(resource.getTitle(),\n
resource.getRelativeUrl()))\n
\n
result.append((\'\', \'\'))\n
return result\n
\n
\n
\n
sql_kw[\'portal_type\'] = portal_type\n
sql_kw[\'validation_state\'] = validation_state\n
sql_kw[\'default_use_uid\'] = [context.portal_categories.resolveCategory(use).getUid()\n
for use in use_list]\n
\n
\n
getResourceItemList = CachingMethod(getResourceItemList, ("getResourceItemList", context.aq_parent.getId()),\n
cache_factory="erp5_ui_long")\n
\n
\n
return getResourceItemList(sql_kw)\n
</string> </value>
</item>
<item>
......@@ -66,7 +129,7 @@ return result\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>lines_num=10, **kw</string> </value>
<value> <string>validation_state=\'validated\', portal_type=None, cell=None</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -86,18 +149,32 @@ return result\n
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>1</int> </value>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>lines_num</string>
<string>kw</string>
<string>_apply_</string>
<string>validation_state</string>
<string>portal_type</string>
<string>cell</string>
<string>Products.ERP5Type.Cache</string>
<string>CachingMethod</string>
<string>_getattr_</string>
<string>context</string>
<string>result</string>
<string>use_list</string>
<string>len</string>
<string>sql_kw</string>
<string>resource_title</string>
<string>AttributeError</string>
<string>None</string>
<string>reference</string>
<string>_write_</string>
<string>getResourceItemList</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string>
<string>use</string>
</tuple>
</value>
</item>
......@@ -110,13 +187,15 @@ return result\n
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<int>10</int>
<string>validated</string>
<none/>
<none/>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>SaleOrder_getFastInputSaleOrderLineList</string> </value>
<value> <string>Delivery_getResourceItemList</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
......
......@@ -60,84 +60,72 @@
"""\n
from Products.ERP5Type.Message import translateString\n
from Products.ERP5Type.Log import log\n
result_list = []\n
trade_document_line_list = context.contentValues(portal_type=line_portal_type)\n
if trade_document_line_list!=[]:\n
trade_document_line_id_list = [x.getId() for x in trade_document_line_list]\n
\n
# Retrieve line and cell portal type\n
line_portal_type_list = [x for x in context.getTypeInfo().getTypeAllowedContentTypeList() \\\n
if x in context.getPortalMovementTypeList()]\n
line_portal_type = line_portal_type_list[0]\n
cell_portal_type_list = [x for x in context.portal_types[line_portal_type].getTypeAllowedContentTypeList() \\\n
if x in context.getPortalMovementTypeList()]\n
cell_portal_type = cell_portal_type_list[0]\n
\n
per_resource_line_dict = {}\n
\n
for line in listbox:\n
# for each line in listbox if line has a reference or title defined, search \n
# for the product whose reference/title has been entered\n
if line.has_key(\'listbox_key\') and (line[\'title\'] not in (\'\', None) \\\n
or line[\'reference\'] not in ("", None)):\n
# Only create line if user has selected a resource\n
if line.has_key(\'listbox_key\') and (line.get(\'resource_relative_url\', None) not in ("", None) \\\n
or line.get(\'source\', None) not in ("", None)):\n
line_id = line[\'listbox_key\']\n
product = context.portal_catalog.getResultValue(\n
portal_type=[\'Product\',\'Service\'],\n
title=line[\'title\'],\n
reference=line[\'reference\'])\n
# for each document line already added,\n
# if the line\'s id is the same as the document line, update it\n
for trade_document_line in trade_document_line_list:\n
if trade_document_line.getId()==line_id:\n
trade_document_line.edit(start_date=context.getStartDate(),\n
stop_date=context.getStopDate(),\n
resource_title=product.getTitle(),\n
price_currency = context.getPriceCurrency(),\n
quantity = line["quantity"],\n
quantity_unit = product.getQuantityUnit(),)\n
trade_document_line.setResourceValue(product)\n
if line["variation_category_list"]!=\'\':\n
trade_document_line.setVariationCategoryList([\'variation/%s\'%line["variation_category_list"]])\n
base_id = \'movement\'\n
cell_key_list = list(trade_document_line.getCellKeyList(base_id=base_id))\n
cell_key_list.sort()\n
price = line[\'total_price\']/line[\'quantity\']\n
quantity = line[\'quantity\']\n
for cell_key in cell_key_list:\n
cell = trade_document_line.newCell(base_id=base_id, \\\n
portal_type=cell_portal_type, *cell_key)\n
cell.edit(mapped_value_property_list=[\'price\',\'quantity\'],\n
price=price, quantity=quantity,\n
predicate_category_list=cell_key,\n
variation_category_list=cell_key)\n
price += 1\n
quantity += 1\n
result_list.append(trade_document_line)\n
\n
if line.get(\'resource_relative_url\', None) not in ("", None):\n
product = context.getPortalObject().restrictedTraverse(line["resource_relative_url"])\n
\n
if line.get(\'source\', None) not in ("", None):\n
source_document = context.getPortalObject().restrictedTraverse(line[\'source\'])\n
product = source_document.getResourceValue()\n
else:\n
source_document = None\n
\n
# update original line/cell if given\n
if source_document is not None:\n
source_document.edit(quantity=line["quantity"],\n
price=line["price"])\n
else:\n
# if there was no document line already defined\n
# for the document, add a new document line\n
if len(trade_document_line_list)==0 or line_id not in trade_document_line_id_list:\n
trade_document_line= context.newContent(\n
portal_type=line_portal_type,)\n
trade_document_line.setResourceValue(product)\n
\n
trade_document_line.edit(\n
start_date=context.getStartDate(),\n
stop_date=context.getStopDate(),\n
resource_title=product.getTitle(),\n
price_currency = context.getPriceCurrency(),\n
quantity = line["quantity"],\n
\n
# We check if havn\'t already create a line for the same resource\n
key = "%s" %(product.getRelativeUrl(),)\n
trade_document_line = per_resource_line_dict.get(key, None)\n
if trade_document_line is None:\n
trade_document_line= context.newContent(portal_type=line_portal_type,\n
resource_value=product,\n
reference=product.getReference(),\n
title=product.getTitle(),\n
)\n
if line["variation_category_list"]!=\'\':\n
trade_document_line.setVariationCategoryList([\'variation/%s\'%line["variation_category_list"]])\n
per_resource_line_dict[key] = trade_document_line\n
if len(line["variation_category_list"]):\n
trade_document_line.setVariationCategoryList(trade_document_line.getVariationCategoryList()+line["variation_category_list"])\n
base_id = \'movement\'\n
cell_key_list = list(trade_document_line.getCellKeyList(base_id=base_id))\n
cell_key_list.sort()\n
price = line[\'total_price\']/line[\'quantity\']\n
quantity = line[\'quantity\']\n
for cell_key in cell_key_list:\n
if cell_key == line["variation_category_list"]:\n
cell = trade_document_line.newCell(base_id=base_id, \\\n
portal_type=cell_portal_type, *cell_key)\n
cell.edit(mapped_value_property_list=[\'price\',\'quantity\'],\n
price=price, quantity=quantity,\n
price=line[\'price\'], quantity=line[\'quantity\'],\n
quantity_unit = line["quantity_unit"],\n
predicate_category_list=cell_key,\n
variation_category_list=cell_key)\n
price += 1\n
quantity += 1\n
result_list.append(trade_document_line)\n
else:\n
trade_document_line.edit(quantity = line["quantity"],\n
price = line["price"],\n
quantity_unit=line[\'quantity_unit\']\n
)\n
\n
\n
#return to the feature module\n
return context.Base_redirect(form_id, keep_items=dict(\n
return context.Base_redirect(kw[\'form_id\'], keep_items=dict(\n
portal_status_message=translateString(\'%s Created.\' %(line_portal_type,))))\n
</string> </value>
</item>
......@@ -149,7 +137,7 @@ return context.Base_redirect(form_id, keep_items=dict(\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>line_portal_type, cell_portal_type, listbox=[], form_id=\'view\',**kw</string> </value>
<value> <string>listbox, **kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -169,46 +157,45 @@ return context.Base_redirect(form_id, keep_items=dict(\n
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>4</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>line_portal_type</string>
<string>cell_portal_type</string>
<string>listbox</string>
<string>form_id</string>
<string>kw</string>
<string>Products.ERP5Type.Message</string>
<string>translateString</string>
<string>Products.ERP5Type.Log</string>
<string>log</string>
<string>result_list</string>
<string>_getattr_</string>
<string>context</string>
<string>trade_document_line_list</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string>
<string>_getattr_</string>
<string>context</string>
<string>x</string>
<string>trade_document_line_id_list</string>
<string>line</string>
<string>line_portal_type_list</string>
<string>_getitem_</string>
<string>line_portal_type</string>
<string>cell_portal_type_list</string>
<string>cell_portal_type</string>
<string>per_resource_line_dict</string>
<string>line</string>
<string>None</string>
<string>line_id</string>
<string>product</string>
<string>source_document</string>
<string>key</string>
<string>trade_document_line</string>
<string>_write_</string>
<string>len</string>
<string>base_id</string>
<string>list</string>
<string>cell_key_list</string>
<string>price</string>
<string>quantity</string>
<string>cell_key</string>
<string>_apply_</string>
<string>cell</string>
<string>_inplacevar_</string>
<string>len</string>
<string>dict</string>
</tuple>
</value>
......@@ -221,10 +208,7 @@ return context.Base_redirect(form_id, keep_items=dict(\n
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<list/>
<string>view</string>
</tuple>
<none/>
</value>
</item>
<item>
......
......@@ -62,79 +62,145 @@
the total price and the stock corresponding to the \n
product\n
"""\n
context.log("update", "no_inventory %s" %(no_inventory))\n
result = [x.getObject() for x in context.Delivery_getFastInputLineList(line_portal_type=line_portal_type,\n
no_inventory=no_inventory,\n
lines_num=10, **kw)]\n
no_inventory = False\n
# Retrieve lines portal type\n
line_portal_type_list = [x for x in context.getTypeInfo().getTypeAllowedContentTypeList() \\\n
if x in context.getPortalMovementTypeList()]\n
line_portal_type = line_portal_type_list[0]\n
\n
request= context.REQUEST\n
if line_portal_type in context.getPortalSaleTypeList():\n
section_uid = context.getSourceSectionUid()\n
supply_cell_portal_type = "Sale Supply Cell"\n
supply_line_id = "default_ssl"\n
use_list = context.portal_preferences.getPreferredSaleUseList()\n
elif line_portal_type in context.getPortalPurchaseTypeList():\n
section_uid = context.getDestinationSectionUid()\n
supply_cell_portal_type = "Purchase Supply Cell"\n
supply_line_id = "default_psl"\n
use_list = context.portal_preferences.getPreferredPurchaseUseList()\n
elif line_portal_type in context.getPortalInternalTypeList():\n
section_uid = None\n
supply_line_id = "default_isl"\n
supply_cell_portal_type = "Internal Supply Cell"\n
use_list = context.portal_preferences.getPreferredPurchaseUseList() \\\n
+ context.portal_preferences.getPreferredSaleUseList()\n
elif line_portal_type in context.getPortalInventoryMovementTypeList():\n
section_uid = None\n
no_inventory = True\n
use_list = context.portal_preferences.getPreferredPurchaseUseList() \\\n
+ context.portal_preferences.getPreferredSaleUseList()\n
else:\n
from Products.ERP5Type.Message import translateString\n
return context.Base_redirect(\'view\', keep_items=dict(\n
portal_status_message=translateString(\'Type of document not known to supply cell type.\')))\n
\n
request= context.REQUEST\n
portal = context.getPortalObject()\n
Base_translateString = portal.Base_translateString\n
total_price = 0.0\n
status_message = ""\n
\n
for line in listbox:\n
if line.has_key(\'listbox_key\') and (line[\'title\'] or line[\'reference\'] not in (\'\', None)):\n
product = context.portal_catalog.getResultValue(\n
portal_type=[\'Product\',\'Service\'],\n
title=line[\'title\'],\n
reference=line[\'reference\'])\n
if line.has_key(\'listbox_key\') and (line[\'title\'] not in (\'\', None)\n
or line[\'reference\'] not in (\'\', None)\n
or line.get(\'resource_relative_url\', None) not in (\'\', None)):\n
line_id = line[\'listbox_key\']\n
cell = result[int(line_id)-1]\n
cell.setResourceValue(product) \n
line["quantity_unit"] = cell.getQuantityUnit()\n
line["resource_relative_url"] = cell.getResource()\n
request.form["field_listbox_resource_relative_url_new_%s"%line_id]=cell.getResource()\n
kw["field_listbox_resource_relative_url_new_%s"%line_id]=cell.getResource()\n
request.set("field_listbox_resource_relative_url_new_%s"%line_id,cell.getResource())\n
request.form["field_listbox_reference_new_%s"%line_id] = product.getReference() or \'\'\n
request.form["field_listbox_title_new_%s"%line_id] = product.getTitle()\n
request.form["field_listbox_quantity_unit_new_%s"%line_id] = cell.getQuantityUnit()\n
product = None\n
\n
# Copy user input\n
request.form["field_listbox_reference_new_%s"%line_id] = line["reference"]\n
request.form["field_listbox_title_new_%s"%line_id] = line["title"]\n
\n
# Retrieve the resource\n
if line.get(\'resource_relative_url\', None) not in (None, ""):\n
product = portal.restrictedTraverse(line[\'resource_relative_url\'])\n
else:\n
product_list = list(context.portal_catalog(portal_type=[\'Product\',\'Service\'],\n
title=line[\'title\'],\n
default_use_uid=[context.portal_categories.resolveCategory(use).getUid()\n
for use in use_list],\n
reference=line[\'reference\']))\n
if len(product_list) != 1:\n
continue\n
else:\n
product = product_list[0].getObject()\n
\n
if line["variation_category_list"]!=\'\' and product.getPortalType()==\'Product\' \\\n
and no_inventory is False \\\n
and line[\'quantity\'] <= product.getAvailableInventory(section_uid=context.getSourceSectionValue().getUid(),\n
variation_text=\'variation/%s\'%line["variation_category_list"]):\n
supply_cell_list = product.default_ssl.contentValues(portal_type=supply_cell_portal_type)\n
# Resource part\n
line["resource_relative_url"] = product.getRelativeUrl() #cell.getResource()\n
request.set("field_listbox_resource_relative_url_new_%s"%line_id,product.getRelativeUrl())\n
\n
request.form["field_listbox_quantity_unit_new_%s"%line_id] = product.getQuantityUnit()\n
variation = request.form["field_listbox_variation_category_list_new_%s"%line_id] = line[\'variation_category_list\']\n
\n
# Part for fast input wich checks inventory value\n
if no_inventory is False:\n
# First defined the price\n
line["total_price"] = 0.0\n
if line["quantity"] in (None, ""):\n
line["quantity"] = 0.0\n
if line[\'price\'] in (None,""):\n
if len(variation):\n
# Retrieve the price from the cell\n
# if we have variation defined\n
try:\n
supply_cell_list = product[supply_line_id].contentValues(portal_type=supply_cell_portal_type)\n
except KeyError:\n
# No price defined\n
supply_cell_list = []\n
for supply_cell in supply_cell_list:\n
if supply_cell.getVariationCategoryList()[0]==\'variation/%s\'%line["variation_category_list"]:\n
line["total_price"] = line[\'quantity\'] * (supply_cell.getBasePrice() or 0)\n
request.form["field_listbox_total_price_new_%s"%line_id] = line[\'total_price\'] \n
request.form["field_listbox_available_quantity_new_%s"%line_id] = product.getAvailableInventory(\n
section_uid=context.getSourceSectionValue().getUid(),\n
variation_text=\'variation/%s\'%line["variation_category_list"])\n
request.form[\'field_listbox_inventory_new_%s\'%line_id] = product.getInventory(\n
section_uid=context.getSourceSectionValue().getUid(),\n
variation_text=\'variation/%s\'%line["variation_category_list"])\n
request.form["field_listbox_current_quantity_new_%s"%line_id] = product.getCurrentInventory(\n
section_uid=context.getSourceSectionValue().getUid(),\n
variation_text=\'variation/%s\'%line["variation_category_list"])\n
total_price +=line[\'total_price\']\n
request.form["field_my_total_price"] = total_price\n
\n
elif line["variation_category_list"]==\'\' and product.getPortalType()==\'Product\' \\\n
and no_inventory is False \\\n
and line[\'quantity\'] <= product.getAvailableInventory(section_uid=context.getSourceSectionValue().getUid()):\n
line["total_price"] = line[\'quantity\'] * (cell.getPrice() or 0)\n
if supply_cell.getVariationCategoryList() == variation:\n
line[\'price\'] = supply_cell.getBasePrice() or 0\n
line["total_price"] = line[\'quantity\'] * line[\'price\']\n
break\n
else:\n
# Retrieve the price from the line\n
# if we have no variation defined\n
try:\n
supply_line = product[supply_line_id]\n
line[\'price\'] = supply_line.getBasePrice() or 0\n
line["total_price"] = line[\'quantity\'] * line[\'price\']\n
except KeyError:\n
# No price defined\n
pass\n
else:\n
# Use the price defined by the user\n
line["total_price"] = line[\'quantity\'] * line[\'price\']\n
\n
request.form["field_listbox_price_new_%s"%line_id] = line[\'price\']\n
request.form["field_listbox_total_price_new_%s"%line_id] = line[\'total_price\']\n
request.form["field_listbox_available_quantity_new_%s"%line_id] = product.getAvailableInventory(\n
section_uid=context.getSourceSectionValue().getUid())\n
# Update total price of fast input\n
total_price +=line[\'total_price\']\n
\n
# Part for products\n
if product.getPortalType()==\'Product\':\n
# Inventory part\n
if len(variation):\n
available_inv = request.form["field_listbox_available_quantity_new_%s"%line_id] = product.getAvailableInventory(\n
section_uid=section_uid,\n
variation_text=\'variation/%s\'%variation)\n
request.form[\'field_listbox_inventory_new_%s\'%line_id] = product.getInventory(\n
section_uid=context.getSourceSectionValue().getUid())\n
section_uid=section_uid,\n
variation_text=\'variation/%s\'%variation)\n
request.form["field_listbox_current_quantity_new_%s"%line_id] = product.getCurrentInventory(\n
section_uid=context.getSourceSectionValue().getUid(),)\n
total_price +=line[\'total_price\']\n
request.form["field_my_total_price"] = total_price\n
elif product.getPortalType()==\'Service\':\n
line["total_price"] = line[\'quantity\'] * cell.getPrice()\n
request.form["field_listbox_total_price_new_%s"%line_id] = line[\'total_price\']\n
total_price +=line[\'total_price\']\n
request.form["field_my_total_price"] = total_price\n
elif no_inventory is False:\n
request.set(\'portal_status_message\', \n
Base_translateString(\'Quantity Asked For Line %s Not Available In Inventory\'%line[\'listbox_key\'])) \n
\n
section_uid=section_uid,\n
variation_text=\'variation/%s\'%variation)\n
else:\n
available_inv = request.form["field_listbox_available_quantity_new_%s"%line_id] = product.getAvailableInventory(section_uid=section_uid)\n
request.form[\'field_listbox_inventory_new_%s\'%line_id] = product.getInventory(section_uid=section_uid)\n
request.form["field_listbox_current_quantity_new_%s"%line_id] = product.getCurrentInventory(section_uid=section_uid)\n
\n
# Check if quantity is available\n
if available_inv < line["quantity"]:\n
status_message += "%s -- " %(Base_translateString(\'Quantity Asked For Line %s : %s - %s Not Available In Inventory\'%(line[\'listbox_key\'],\n
product.getTitle(),\n
product.getReference())))\n
\n
if len(status_message):\n
request.set(\'portal_status_message\', status_message)\n
\n
request.form["field_my_total_price"] = total_price\n
context.Base_updateDialogForm(listbox=listbox,update=1,kw=kw)\n
return listbox, kw\n
return getattr(context, request.form[\'dialog_id\'])(listbox=listbox, kw=kw)\n
]]></string> </value>
......@@ -147,7 +213,7 @@ return listbox, kw\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>line_portal_type,supply_cell_portal_type, listbox=[], no_inventory=False, **kw</string> </value>
<value> <string>listbox=[], **kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -167,41 +233,55 @@ return listbox, kw\n
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>4</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>line_portal_type</string>
<string>supply_cell_portal_type</string>
<string>listbox</string>
<string>no_inventory</string>
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
<string>False</string>
<string>no_inventory</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string>
<string>_apply_</string>
<string>_getattr_</string>
<string>context</string>
<string>x</string>
<string>result</string>
<string>line_portal_type_list</string>
<string>_getitem_</string>
<string>line_portal_type</string>
<string>section_uid</string>
<string>supply_cell_portal_type</string>
<string>supply_line_id</string>
<string>use_list</string>
<string>None</string>
<string>True</string>
<string>Products.ERP5Type.Message</string>
<string>translateString</string>
<string>dict</string>
<string>request</string>
<string>portal</string>
<string>Base_translateString</string>
<string>total_price</string>
<string>status_message</string>
<string>line</string>
<string>_getitem_</string>
<string>None</string>
<string>product</string>
<string>line_id</string>
<string>int</string>
<string>cell</string>
<string>product</string>
<string>_write_</string>
<string>False</string>
<string>list</string>
<string>use</string>
<string>product_list</string>
<string>len</string>
<string>variation</string>
<string>supply_cell_list</string>
<string>KeyError</string>
<string>supply_cell</string>
<string>supply_line</string>
<string>_inplacevar_</string>
<string>available_inv</string>
<string>getattr</string>
</tuple>
</value>
</item>
......@@ -215,7 +295,6 @@ return listbox, kw\n
<value>
<tuple>
<list/>
<int>0</int>
</tuple>
</value>
</item>
......
......@@ -38,7 +38,7 @@
</item>
<item>
<key> <string>action</string> </key>
<value> <string>SalePackingList_setSalePackingListLineList</string> </value>
<value> <string>Delivery_setFastInputLineList</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -95,13 +95,14 @@
<string>listbox_quantity</string>
<string>listbox_reference</string>
<string>listbox_total_price</string>
<string>listbox_total_quantity</string>
<string>listbox_inventory</string>
<string>listbox_title</string>
<string>listbox_variation_category_list</string>
<string>listbox_current_quantity</string>
<string>listbox_available_quantity</string>
<string>listbox_quantity_unit</string>
<string>listbox_price</string>
<string>listbox_resource_relative_url</string>
<string>listbox_inventory</string>
</list>
</value>
</item>
......@@ -124,7 +125,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>SalePackingList_viewSalePackingListFastInputDialog</string> </value>
<value> <string>Delivery_viewDeliveryFastInputDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -132,7 +133,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>SalePackingList_viewSalePackingListFastInputDialog</string> </value>
<value> <string>Delivery_viewDeliveryFastInputDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......@@ -148,7 +149,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Define Sale Packing List Lines</string> </value>
<value> <string>Define Delivery Lines</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......@@ -156,7 +157,7 @@
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string>SalePackingList_updateSalePackingListLineList</string> </value>
<value> <string>Delivery_updateFastInputLineList</string> </value>
</item>
<item>
<key> <string>update_action_title</string> </key>
......
......@@ -98,6 +98,10 @@
<string>reference</string>
<string>Reference</string>
</tuple>
<tuple>
<string>resource_relative_url</string>
<string>Ressource</string>
</tuple>
<tuple>
<string>variation_category_list</string>
<string>Variation</string>
......@@ -110,6 +114,10 @@
<string>quantity_unit</string>
<string>Quantity Unit</string>
</tuple>
<tuple>
<string>price</string>
<string>Price</string>
</tuple>
<tuple>
<string>total_price</string>
<string>Total Price</string>
......@@ -141,6 +149,10 @@
<string>reference</string>
<string>Reference</string>
</tuple>
<tuple>
<string>resource_relative_url</string>
<string>Ressource</string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
......@@ -153,16 +165,20 @@
<string>variation_category_list</string>
<string>Variation</string>
</tuple>
<tuple>
<string>price</string>
<string>Price</string>
</tuple>
<tuple>
<string>total_price</string>
<string>Total Price</string>
</tuple>
<tuple>
<string>getCurrentInventory</string>
<string>current_quantity</string>
<string>Current</string>
</tuple>
<tuple>
<string>getAvailableInventory</string>
<string>available_quantity</string>
<string>Available</string>
</tuple>
<tuple>
......@@ -213,7 +229,7 @@
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>sale_order_fast_input_selection</string> </value>
<value> <string>delivery_fast_input_selection</string> </value>
</item>
<item>
<key> <string>target</string> </key>
......@@ -221,7 +237,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Define Sale Order Lines</string> </value>
<value> <string>Define Delivery Lines</string> </value>
</item>
</dictionary>
</value>
......@@ -256,7 +272,7 @@
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>SaleOrder_getFastInputSaleOrderLineList</string> </value>
<value> <string>Delivery_getFastInputLineList</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>display_width</string>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_available_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: preferences.getPreference(\'preferred_quantity_field_width\', 5)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>display_width</string>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_current_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: preferences.getPreference(\'preferred_quantity_field_width\', 5)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>display_width</string>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_inventory</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: preferences.getPreference(\'preferred_quantity_field_width\', 5)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -12,12 +12,14 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>enabled</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_variation_category_list</string> </value>
<value> <string>listbox_price</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -72,9 +74,13 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_variation_category_list</string> </value>
<value> <string>my_view_mode_listbox_price</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
......
......@@ -12,7 +12,9 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>enabled</string>
</list>
</value>
</item>
<item>
......@@ -53,6 +55,10 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -72,6 +78,10 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_quantity</string> </value>
......
......@@ -17,7 +17,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_quantity</string> </value>
<value> <string>listbox_resource_relative_url</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -74,7 +74,7 @@
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_quantity</string> </value>
<value> <string>my_view_mode_listbox_resource_relative_url</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
......
......@@ -12,7 +12,9 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>editable</string>
</list>
</value>
</item>
<item>
......@@ -72,6 +74,10 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_editable_total_price</string> </value>
......
......@@ -12,7 +12,10 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>hash_script_id</string>
<string>required</string>
</list>
</value>
</item>
<item>
......@@ -61,6 +64,10 @@
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
......@@ -80,6 +87,14 @@
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>hash_script_id</string> </key>
<value> <string>DeliveryLine_hashVariationCategoryItemList</string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
......
......@@ -38,7 +38,7 @@
</item>
<item>
<key> <string>action</string> </key>
<value> <string>SaleOrder_setSaleOrderLineList</string> </value>
<value> <string>Delivery_setFastInputLineList</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -97,9 +97,13 @@
<string>listbox_total_price</string>
<string>listbox_title</string>
<string>listbox_variation_category_list</string>
<string>listbox_current_quantity</string>
<string>listbox_available_quantity</string>
<string>listbox_quantity_unit</string>
<string>listbox_price</string>
<string>listbox_resource_relative_url</string>
<string>listbox_source</string>
<string>listbox_available_quantity</string>
<string>listbox_current_quantity</string>
<string>listbox_inventory</string>
</list>
</value>
</item>
......@@ -122,7 +126,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>SaleOrder_viewSaleOrderFastInputDialog</string> </value>
<value> <string>Delivery_viewDeliveryUpdateFastInputDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -130,7 +134,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>SaleOrder_viewSaleOrderFastInputDialog</string> </value>
<value> <string>Delivery_viewDeliveryUpdateFastInputDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......@@ -146,7 +150,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Define Sale Order Lines</string> </value>
<value> <string>Update Delivery Lines</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......@@ -154,7 +158,11 @@
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string>SaleOrder_updateSaleOrderLineList</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>update_action_title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -20,6 +20,7 @@
<string>search_columns</string>
<string>selection_name</string>
<string>title</string>
<string>url_columns</string>
</list>
</value>
</item>
......@@ -110,6 +111,10 @@
<string>quantity_unit</string>
<string>Quantity Unit</string>
</tuple>
<tuple>
<string>price</string>
<string>Price</string>
</tuple>
<tuple>
<string>total_price</string>
<string>Total Price</string>
......@@ -126,6 +131,10 @@
<string>inventory</string>
<string>Future</string>
</tuple>
<tuple>
<string>source</string>
<string></string>
</tuple>
</list>
</value>
</item>
......@@ -154,21 +163,29 @@
<string>Variation</string>
</tuple>
<tuple>
<string>total_price</string>
<string>Total Price</string>
</tuple>
<tuple>
<string>getCurrentInventory</string>
<string>current_quantity</string>
<string>Current</string>
</tuple>
<tuple>
<string>getAvailableInventory</string>
<string>available_quantity</string>
<string>Available</string>
</tuple>
<tuple>
<string>inventory</string>
<string>Future</string>
</tuple>
<tuple>
<string>price</string>
<string>Price</string>
</tuple>
<tuple>
<string>total_price</string>
<string>Total Price</string>
</tuple>
<tuple>
<string>source</string>
<string></string>
</tuple>
</list>
</value>
</item>
......@@ -194,35 +211,69 @@
</item>
<item>
<key> <string>search_columns</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>delivery_fast_input_update_selection</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Update Delivery Lines</string> </value>
</item>
<item>
<key> <string>url_columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>Product or Service</string>
<string></string>
</tuple>
<tuple>
<string>reference</string>
<string>Reference</string>
<string></string>
</tuple>
<tuple>
<string>variation_category_list</string>
<string></string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
<string></string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string></string>
</tuple>
<tuple>
<string>price</string>
<string></string>
</tuple>
<tuple>
<string>total_price</string>
<string></string>
</tuple>
<tuple>
<string>current_quantity</string>
<string></string>
</tuple>
<tuple>
<string>available_quantity</string>
<string></string>
</tuple>
<tuple>
<string>inventory</string>
<string></string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>sale_packing_list_fast_input_selection</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Define Sale Packing List Lines</string> </value>
</item>
</dictionary>
</value>
</item>
......@@ -256,7 +307,7 @@
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>SalePackingList_getFastInputSalePackingListLineList</string> </value>
<value> <string>Delivery_getFastInputLineListToUpdate</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>display_width</string>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_available_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: preferences.getPreference(\'preferred_quantity_field_width\', 5)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>display_width</string>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_current_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: preferences.getPreference(\'preferred_quantity_field_width\', 5)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>display_width</string>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_inventory</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: preferences.getPreference(\'preferred_quantity_field_width\', 5)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -12,12 +12,14 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>enabled</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_reference</string> </value>
<value> <string>listbox_price</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -72,9 +74,13 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_reference</string> </value>
<value> <string>my_view_mode_listbox_price</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
......
......@@ -12,7 +12,9 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>enabled</string>
</list>
</value>
</item>
<item>
......@@ -53,6 +55,10 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -72,6 +78,10 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_quantity</string> </value>
......
......@@ -12,7 +12,9 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>editable</string>
</list>
</value>
</item>
<item>
......@@ -72,9 +74,13 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_reference</string> </value>
<value> <string>my_view_mode_listbox_reference</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
......
......@@ -13,13 +13,13 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>items</string>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_quantity_unit</string> </value>
<value> <string>listbox_resource_relative_url</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -55,6 +55,12 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -63,12 +69,6 @@
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
......@@ -80,20 +80,18 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox_quantity_unit</string> </value>
<value> <string>my_view_mode_listbox_resource_relative_url</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
......@@ -115,7 +113,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:cell.SaleOrderLine_getQuantityUnitItemList()</string> </value>
<value> <string>python: cell.getSource() in ("", None)</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>hidden</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_source</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox_movement_relative_url</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string encoding="cdata"><![CDATA[
&nsbc
]]></string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -12,7 +12,9 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>editable</string>
</list>
</value>
</item>
<item>
......@@ -72,9 +74,13 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_title</string> </value>
<value> <string>my_view_mode_listbox_title</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
......
......@@ -12,7 +12,9 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>editable</string>
</list>
</value>
</item>
<item>
......@@ -72,6 +74,10 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_editable_total_price</string> </value>
......
......@@ -12,7 +12,10 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>editable</string>
<string>required</string>
</list>
</value>
</item>
<item>
......@@ -53,6 +56,12 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -61,6 +70,10 @@
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
......@@ -72,6 +85,10 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_variation_category_list</string> </value>
......@@ -80,6 +97,10 @@
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
......@@ -90,4 +111,20 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: cell.getSource() in ("", None)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -74,7 +74,7 @@
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_total_price</string> </value>
<value> <string>my_view_mode_total_price</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Inventory_setInventoryLineList</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>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string>application/x-www-form-urlencoded</string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<value>
<list>
<string>listbox</string>
</list>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_quantity</string>
<string>listbox_reference</string>
<string>listbox_title</string>
<string>listbox_variation_category_list</string>
<string>listbox_quantity_unit</string>
</list>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Inventory_viewInventoryFastInputDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Inventory_viewInventoryFastInputDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_dialog</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Define Inventory Lines</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string>Inventory_updateInventoryLineList</string> </value>
</item>
<item>
<key> <string>update_action_title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>editable_columns</string>
<string>title</string>
<string>search_columns</string>
<string>selection_name</string>
<string>list_method</string>
<string>columns</string>
<string>portal_types</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>Product or Service</string>
</tuple>
<tuple>
<string>reference</string>
<string>Reference</string>
</tuple>
<tuple>
<string>variation_category_list</string>
<string>Variation</string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string>Quantity Unit</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>editable_columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>Product or Service</string>
</tuple>
<tuple>
<string>reference</string>
<string>Reference</string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string>Quantity Unit</string>
</tuple>
<tuple>
<string>variation_category_list</string>
<string>Variation</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>search_columns</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>Product or Service</string>
</tuple>
<tuple>
<string>reference</string>
<string>Reference</string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>inventory_fast_input_selection</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Define Inventory Lines</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:((here.getPortalType(), here.getPortalType()),)</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>Inventory_getFastInputInventoryLineList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_available_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_current_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>result = context.Delivery_getFastInputLineList(line_portal_type="Sale Packing List Line", lines_num=10, **kw)\n
\n
return result\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>kw</string>
<string>_apply_</string>
<string>_getattr_</string>
<string>context</string>
<string>result</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>SalePackingList_getFastInputSalePackingListLineList</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_available_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_current_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_inventory</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_inventory</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_title</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_dialog_mode_listbox_title</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_total_quantity</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_view_mode_listbox_total_quantity</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewTradeFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
951
\ No newline at end of file
953
\ No newline at end of file
......@@ -20,6 +20,8 @@ Internal Order Line | profile_view
Internal Order Line | quantity_view
Internal Order Line | view
Internal Order Module | view
Internal Order | fast_input
Internal Order | fast_input_update
Internal Order | jump_to_related_internal_packing_list
Internal Order | order_print
Internal Order | view
......@@ -33,6 +35,8 @@ Internal Packing List Module | delivery_line_report
Internal Packing List Module | view
Internal Packing List Module | workflow_report
Internal Packing List | details
Internal Packing List | fast_input
Internal Packing List | fast_input_update
Internal Packing List | payment_condition
Internal Packing List | profile_view
Internal Packing List | view
......@@ -44,7 +48,8 @@ Inventory Line | view
Inventory Module | view
Inventory Module | view_stock_export
Inventory Module | view_stock_report
Inventory | inventory_fast_input
Inventory | fast_input
Inventory | fast_input_update
Inventory | view
Order Root Simulation Rule | view
Order Rule | view
......@@ -68,6 +73,8 @@ Purchase Order Module | order_export
Purchase Order Module | order_report
Purchase Order Module | view
Purchase Order | apply_trade_condition
Purchase Order | fast_input
Purchase Order | fast_input_update
Purchase Order | jump_to_related_purchase_packing_list
Purchase Order | order_print
Purchase Order | payment_condition
......@@ -87,6 +94,8 @@ Purchase Packing List Line | view_price
Purchase Packing List Module | delivery_line_report
Purchase Packing List Module | view
Purchase Packing List | details
Purchase Packing List | fast_input
Purchase Packing List | fast_input_update
Purchase Packing List | jump_related_order
Purchase Packing List | jump_related_purchase_invoice
Purchase Packing List | packing_list_print
......@@ -140,6 +149,8 @@ Sale Order Module | order_report
Sale Order Module | view
Sale Order Module | workflow_report
Sale Order | apply_trade_condition
Sale Order | fast_input
Sale Order | fast_input_update
Sale Order | jump_to_related_sale_packing_list
Sale Order | order_print
Sale Order | order_summary
......@@ -147,7 +158,6 @@ Sale Order | payment_condition
Sale Order | profile_view
Sale Order | reference_generate
Sale Order | reset_movement_price_list
Sale Order | sale_order_fast_input
Sale Order | sale_order_planning
Sale Order | view
Sale Order | view_stock
......@@ -163,13 +173,14 @@ Sale Packing List Module | view
Sale Packing List Module | workflow_report
Sale Packing List | container_fast_input
Sale Packing List | details
Sale Packing List | fast_input
Sale Packing List | fast_input_update
Sale Packing List | jump_related_order
Sale Packing List | jump_related_sale_invoice
Sale Packing List | packing_list_print
Sale Packing List | payment_condition
Sale Packing List | profile_view
Sale Packing List | reset_movement_price_list
Sale Packing List | sale_packing_list_fast_input
Sale Packing List | view
Sale Packing List | view_container_list
Sale Packing List | view_stock
......
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