diff --git a/bt5/erp5_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index b5e85f9cbfa6ba8e61b9c20a3ba44fdfaa3ffc79..6ee845693d6040b0f0c999dd9e57ead4b4c93137 100644 --- a/bt5/erp5_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/bt5/erp5_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -63,6 +63,7 @@ <item>Tax Model Line</item> <item>Discount Model Line</item> <item>Payment Condition</item> + <item>Purchase Supply Line</item> </portal_type> <portal_type id="Purchase Trade Condition Module"> <item>Purchase Trade Condition</item> @@ -107,6 +108,7 @@ <portal_type id="Sale Trade Condition"> <item>Tax Model Line</item> <item>Payment Condition</item> + <item>Sale Supply Line</item> <item>Discount Model Line</item> </portal_type> <portal_type id="Sale Trade Condition Module"> diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PurchaseTradeCondition_view.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PurchaseTradeCondition_view.xml index c63d50d2f9e6d0a6496470fc5fca6f094a7d7b4a..e7ea022c42d14391ce9de6c17bb0432b2e5ec579 100644 --- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PurchaseTradeCondition_view.xml +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PurchaseTradeCondition_view.xml @@ -79,7 +79,9 @@ <item> <key> <string>bottom</string> </key> <value> - <list/> + <list> + <string>listbox</string> + </list> </value> </item> <item> diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PurchaseTradeCondition_view/listbox.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PurchaseTradeCondition_view/listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..2a2c24b911f8dde20248ad2056d7e0f0b2433a4a --- /dev/null +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/PurchaseTradeCondition_view/listbox.xml @@ -0,0 +1,99 @@ +<?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>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>delegated_list</string> </key> + <value> + <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>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>listbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>PurchaseSupply_viewFieldLibrary</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> diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SaleTradeCondition_view.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SaleTradeCondition_view.xml index d37868a508a84f31e3a52d7856c5819d70e8ef62..6f876e201ee535256615e1792ba523d99e069cbc 100644 --- a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SaleTradeCondition_view.xml +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SaleTradeCondition_view.xml @@ -79,7 +79,9 @@ <item> <key> <string>bottom</string> </key> <value> - <list/> + <list> + <string>listbox</string> + </list> </value> </item> <item> diff --git a/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SaleTradeCondition_view/listbox.xml b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SaleTradeCondition_view/listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..afd826274ccfe7914cf3eb84464855c4acf52cce --- /dev/null +++ b/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/SaleTradeCondition_view/listbox.xml @@ -0,0 +1,99 @@ +<?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>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>delegated_list</string> </key> + <value> + <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>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>listbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>SaleSupply_viewFieldLibrary</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> diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index 52f6c1a7a0e6648b65c77f6cfff32f6b5034ee55..0a1b63de8b7729fb88b737257363f50fa7dd4e03 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -352 \ No newline at end of file +353 \ No newline at end of file diff --git a/bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list index f48bf866b820ddedbc5dfd53b2a91643ab82c66e..885402431b53e98289430905bb42d1534961aaf1 100644 --- a/bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list +++ b/bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list @@ -27,6 +27,7 @@ Purchase Packing List | Purchase Packing List Line Purchase Trade Condition Module | Purchase Trade Condition Purchase Trade Condition | Discount Model Line Purchase Trade Condition | Payment Condition +Purchase Trade Condition | Purchase Supply Line Purchase Trade Condition | Tax Model Line Returned Sale Packing List Line | Returned Sale Packing List Cell Returned Sale Packing List Module | Returned Sale Packing List @@ -48,5 +49,6 @@ Sale Packing List | Sale Packing List Line Sale Trade Condition Module | Sale Trade Condition Sale Trade Condition | Discount Model Line Sale Trade Condition | Payment Condition +Sale Trade Condition | Sale Supply Line Sale Trade Condition | Tax Model Line Tax Module | Tax \ No newline at end of file