diff --git a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order.xml b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order.xml index 5db3383ea46989d554e870aec1b336704f144e75..ff943c28aaecbf37ed44ba5b7f83fddc08d27ae4 100644 --- a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order.xml +++ b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order.xml @@ -73,16 +73,34 @@ </item> <item> <key> <string>init_script</string> </key> - <value> <string>ProductionDelivery_generateReference</string> </value> + <value> <string>ProductionOrder_init</string> </value> </item> <item> <key> <string>permission</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>Order</string> </value> + </item> + <item> + <key> <string>type_interface</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>type_mixin</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_init.py b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_init.py new file mode 100644 index 0000000000000000000000000000000000000000..e660663410cac2f257923a855104e89800d69ad9 --- /dev/null +++ b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_init.py @@ -0,0 +1 @@ +context.ProductionDelivery_generateReference(**kw) diff --git a/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_init.xml b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_init.xml new file mode 100644 index 0000000000000000000000000000000000000000..ae7b2f0db015d0759902b730a03e0930c670fa78 --- /dev/null +++ b/bt5/erp5_mrp/SkinTemplateItem/portal_skins/erp5_mrp/ProductionOrder_init.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </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>_params</string> </key> + <value> <string>**kw</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ProductionOrder_init</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData>