diff --git a/bt5/erp5_project/ActionTemplateItem/portal_types/Sale%20Order%20Line/create_task.xml b/bt5/erp5_project/ActionTemplateItem/portal_types/Sale%20Order%20Line/create_task.xml index 8e3b16dfffb4696f92b95979ee8170a716f7cd94..24dbcdf9bc16864c6a855972d48ed51ce7db955c 100644 --- a/bt5/erp5_project/ActionTemplateItem/portal_types/Sale%20Order%20Line/create_task.xml +++ b/bt5/erp5_project/ActionTemplateItem/portal_types/Sale%20Order%20Line/create_task.xml @@ -77,7 +77,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>string:${object_url}/SaleOrderLine_viewCreateTask</string> </value> + <value> <string>string:${object_url}/SaleOrderLine_viewCreateTaskDialog</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_createTask.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_createTask.xml index 2abf9bbf8ec627a72f283c8e2068c8baa9e3c35d..1e2ef0bd5fea31fb3b72eff4ecde8100e7856338 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_createTask.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_createTask.xml @@ -114,7 +114,7 @@ return task.Base_redirect(\'view\', \n </item> <item> <key> <string>_params</string> </key> - <value> <string>title, reference, source, source_section, destination_decision, destination_section, source_project, destination, start_date, stop_date, task_line_resource, task_line_quantity, task_line_price, task_line_quantity_unit, total_price, price_currency, description, **kw</string> </value> + <value> <string>title=None, reference=None, source=None, source_section=None, destination_decision=None, destination_section=None, source_project=None, destination=None, start_date=None, stop_date=None, task_line_resource=None, task_line_quantity=None, task_line_price=None, task_line_quantity_unit=None, total_price=None, price_currency=None, description=None, **kw</string> </value> </item> <item> <key> <string>errors</string> </key> @@ -175,7 +175,25 @@ return task.Base_redirect(\'view\', \n <item> <key> <string>func_defaults</string> </key> <value> - <none/> + <tuple> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + <none/> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog.xml similarity index 97% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog.xml index c82cb2e025bfa5e11bd2084ae0be19d84de8db79..b8ad053e5049b3a7beb6ba4812461734c06b267c 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog.xml @@ -141,7 +141,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>SaleOrderLine_viewCreateTask</string> </value> + <value> <string>SaleOrderLine_viewCreateTaskDialog</string> </value> </item> <item> <key> <string>method</string> </key> @@ -149,7 +149,7 @@ </item> <item> <key> <string>name</string> </key> - <value> <string>SaleOrderLine_viewCreateTask</string> </value> + <value> <string>SaleOrderLine_viewCreateTaskDialog</string> </value> </item> <item> <key> <string>pt</string> </key> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_description.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_description.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_description.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_description.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_destination.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_destination.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_destination.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_destination.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_destination_decision.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_destination_decision.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_destination_decision.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_destination_decision.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_destination_section.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_destination_section.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_destination_section.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_destination_section.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_price_currency.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_price_currency.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_price_currency.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_price_currency.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_reference.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_reference.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_reference.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_reference.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_source.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_source.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_source.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_source.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_source_project.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_source_project.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_source_project.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_source_project.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_source_section.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_source_section.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_source_section.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_source_section.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_start_date.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_start_date.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_start_date.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_start_date.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_stop_date.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_stop_date.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_stop_date.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_stop_date.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_task_line_price.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_task_line_price.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_task_line_price.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_task_line_price.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_task_line_quantity.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_task_line_quantity.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_task_line_quantity.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_task_line_quantity.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_task_line_quantity_unit.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_task_line_quantity_unit.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_task_line_quantity_unit.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_task_line_quantity_unit.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_task_line_resource.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_task_line_resource.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_task_line_resource.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_task_line_resource.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_title.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_title.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_title.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_title.xml diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_total_price.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_total_price.xml similarity index 100% rename from bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTask/your_total_price.xml rename to bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project_trade/SaleOrderLine_viewCreateTaskDialog/your_total_price.xml diff --git a/bt5/erp5_project/bt/change_log b/bt5/erp5_project/bt/change_log index 6d6bda288f5ad49c9943b3c0aa53a09ffbf5f749..4ee69f383ff3df28290d76d2f1f181baebd219b3 100644 --- a/bt5/erp5_project/bt/change_log +++ b/bt5/erp5_project/bt/change_log @@ -1,3 +1,6 @@ +2008-09-09 +* fix dialog name and script arguments + 2008-09-08 vincentd * add an action for create a task from a sale order line diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision index 5ae48373adc47d4e161b3ab601b0b65bea473f91..b66073e9e4a1640993bf4d0f6e9e51ca33634ec0 100644 --- a/bt5/erp5_project/bt/revision +++ b/bt5/erp5_project/bt/revision @@ -1 +1 @@ -585 \ No newline at end of file +586 \ No newline at end of file