From 32b46d54077464a5a04b9dc1ba6c1996bcb3160c Mon Sep 17 00:00:00 2001 From: Launchpad Code Hosting Date: Tue, 26 Jan 2010 04:52:03 +0000 Subject: [PATCH 01/21] Launchpad automatic translations update. bzr revid: codehost@crowberry-20100126045203-ppijofxrf3cg1oq0 --- addons/account_analytic_plans/i18n/cs.po | 43 ++-- addons/account_analytic_plans/i18n/fr.po | 8 +- addons/hr_contract/i18n/hi.po | 253 +++++++++++++++++++++++ addons/profile_service/i18n/fi.po | 250 ++++++++++++++++++++++ addons/project/i18n/ru.po | 66 +++--- addons/thunderbird/i18n/cs.po | 86 ++++++++ addons/wiki/i18n/cs.po | 8 +- 7 files changed, 653 insertions(+), 61 deletions(-) create mode 100644 addons/hr_contract/i18n/hi.po create mode 100644 addons/profile_service/i18n/fi.po create mode 100644 addons/thunderbird/i18n/cs.po diff --git a/addons/account_analytic_plans/i18n/cs.po b/addons/account_analytic_plans/i18n/cs.po index 72bab96da5d..f1156f9adac 100644 --- a/addons/account_analytic_plans/i18n/cs.po +++ b/addons/account_analytic_plans/i18n/cs.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.4\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-02-03 06:24+0000\n" -"Last-Translator: <>\n" +"PO-Revision-Date: 2010-01-25 11:30+0000\n" +"Last-Translator: Kuvaly [LCT] \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2009-12-16 05:16+0000\n" +"X-Launchpad-Export-Date: 2010-01-26 04:51+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: account_analytic_plans @@ -26,6 +26,7 @@ msgstr "" msgid "" "The Object name must start with x_ and not contain any special character !" msgstr "" +"Jméno objektu musí začínat znakem x_ a nesmí obsahovat žádný speciální znak!" #. module: account_analytic_plans #: model:ir.actions.report.xml,name:account_analytic_plans.account_analytic_account_crossovered_analytic @@ -41,7 +42,7 @@ msgstr "" #. module: account_analytic_plans #: wizard_field:wizard.crossovered.analytic,init,date2:0 msgid "End Date" -msgstr "" +msgstr "Koncové datum" #. module: account_analytic_plans #: field:account.analytic.plan.instance.line,rate:0 @@ -70,7 +71,7 @@ msgstr "" #. module: account_analytic_plans #: wizard_button:wizard.crossovered.analytic,init,print:0 msgid "Print" -msgstr "" +msgstr "Tisk" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 @@ -90,7 +91,7 @@ msgstr "" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 msgid "Account Name" -msgstr "" +msgstr "Název účtu" #. module: account_analytic_plans #: view:account.analytic.plan.instance.line:0 @@ -105,7 +106,7 @@ msgstr "" #. module: account_analytic_plans #: constraint:ir.actions.act_window:0 msgid "Invalid model name in the action definition." -msgstr "" +msgstr "Špatný název modelu v definici akce" #. module: account_analytic_plans #: field:account.analytic.plan.line,name:0 @@ -146,7 +147,7 @@ msgstr "" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 msgid "100.00%" -msgstr "" +msgstr "100.00%" #. module: account_analytic_plans #: wizard_field:wizard.crossovered.analytic,init,ref:0 @@ -156,7 +157,7 @@ msgstr "" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 msgid "Analytic Account :" -msgstr "" +msgstr "Analytický účet :" #. module: account_analytic_plans #: view:account.analytic.plan.line:0 @@ -171,7 +172,7 @@ msgstr "" #. module: account_analytic_plans #: model:ir.actions.wizard,name:account_analytic_plans.create_model msgid "Create Model" -msgstr "" +msgstr "Vytvořit model" #. module: account_analytic_plans #: field:account.analytic.plan,default_instance_id:0 @@ -214,7 +215,7 @@ msgstr "" #. module: account_analytic_plans #: constraint:ir.ui.view:0 msgid "Invalid XML for View Architecture!" -msgstr "" +msgstr "Invalidní XML pro zobrazení architektury!" #. module: account_analytic_plans #: model:ir.actions.act_window,name:account_analytic_plans.account_analytic_instance_model_open @@ -285,7 +286,7 @@ msgstr "" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 msgid "Amount" -msgstr "" +msgstr "Množství" #. module: account_analytic_plans #: help:account.analytic.plan.line,root_analytic_id:0 @@ -300,7 +301,7 @@ msgstr "" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 msgid "Quantity" -msgstr "" +msgstr "Počet" #. module: account_analytic_plans #: field:account.analytic.plan.instance,account_ids:0 @@ -310,12 +311,12 @@ msgstr "" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 msgid "Code" -msgstr "" +msgstr "Kód" #. module: account_analytic_plans #: wizard_button:create.model,info,end:0 msgid "OK" -msgstr "" +msgstr "OK" #. module: account_analytic_plans #: field:account.analytic.plan.line,root_analytic_id:0 @@ -331,12 +332,12 @@ msgstr "" #. module: account_analytic_plans #: field:account.analytic.plan.line,sequence:0 msgid "Sequence" -msgstr "" +msgstr "Sekvence" #. module: account_analytic_plans #: field:account.analytic.plan.instance.line,analytic_account_id:0 msgid "Analytic Account" -msgstr "" +msgstr "Analytický účet" #. module: account_analytic_plans #: field:account.analytic.default,analytics_id:0 @@ -345,7 +346,7 @@ msgstr "" #: field:account.invoice.line,analytics_id:0 #: field:account.move.line,analytics_id:0 msgid "Analytic Distribution" -msgstr "" +msgstr "Analytická distribuce" #. module: account_analytic_plans #: model:ir.ui.menu,name:account_analytic_plans.menu_account_analytic_plan_instance_action @@ -355,17 +356,17 @@ msgstr "" #. module: account_analytic_plans #: wizard_button:wizard.crossovered.analytic,init,end:0 msgid "Cancel" -msgstr "" +msgstr "Zrušit" #. module: account_analytic_plans #: wizard_field:wizard.crossovered.analytic,init,date1:0 msgid "Start Date" -msgstr "" +msgstr "Počáteční datum" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 msgid "at" -msgstr "" +msgstr "v" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 diff --git a/addons/account_analytic_plans/i18n/fr.po b/addons/account_analytic_plans/i18n/fr.po index 0f02a6c2fc9..6aa5bae92e7 100644 --- a/addons/account_analytic_plans/i18n/fr.po +++ b/addons/account_analytic_plans/i18n/fr.po @@ -7,19 +7,19 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.0\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-11-17 09:37+0000\n" -"Last-Translator: Fabien (Open ERP) \n" +"PO-Revision-Date: 2010-01-25 10:04+0000\n" +"Last-Translator: TeMPO \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2009-12-16 05:16+0000\n" +"X-Launchpad-Export-Date: 2010-01-26 04:51+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: account_analytic_plans #: field:account.analytic.plan.instance,account4_ids:0 msgid "Account4 Id" -msgstr "Identifiant du Compte4" +msgstr "Compte de tiers" #. module: account_analytic_plans #: constraint:ir.model:0 diff --git a/addons/hr_contract/i18n/hi.po b/addons/hr_contract/i18n/hi.po new file mode 100644 index 00000000000..9617979af42 --- /dev/null +++ b/addons/hr_contract/i18n/hi.po @@ -0,0 +1,253 @@ +# Hindi translation for openobject-addons +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2009-08-28 16:01+0000\n" +"PO-Revision-Date: 2010-01-25 07:27+0000\n" +"Last-Translator: vir (Open ERP) \n" +"Language-Team: Hindi \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2010-01-26 04:52+0000\n" +"X-Generator: Launchpad (build Unknown)\n" + +#. module: hr_contract +#: view:hr.contract.wage.type:0 +msgid "Hourly cost computation" +msgstr "प्रति घंटा की लागत की गणना" + +#. module: hr_contract +#: selection:hr.contract.wage.type,type:0 +msgid "Gross" +msgstr "" + +#. module: hr_contract +#: constraint:ir.model:0 +msgid "" +"The Object name must start with x_ and not contain any special character !" +msgstr "" + +#. module: hr_contract +#: view:hr.contract:0 +#: view:hr.employee:0 +msgid "Generalities" +msgstr "" + +#. module: hr_contract +#: field:hr.employee,children:0 +msgid "Number of children" +msgstr "" + +#. module: hr_contract +#: field:hr.contract.wage.type,factor_type:0 +msgid "Factor for hour cost" +msgstr "" + +#. module: hr_contract +#: view:hr.contract.wage.type:0 +msgid "Wage Types" +msgstr "" + +#. module: hr_contract +#: constraint:ir.actions.act_window:0 +msgid "Invalid model name in the action definition." +msgstr "" + +#. module: hr_contract +#: field:hr.contract,employee_id:0 +msgid "Employee" +msgstr "" + +#. module: hr_contract +#: selection:hr.contract.wage.type,type:0 +msgid "Net" +msgstr "नेट" + +#. module: hr_contract +#: model:ir.module.module,shortdesc:hr_contract.module_meta_information +msgid "Human Resources Contracts" +msgstr "" + +#. module: hr_contract +#: field:hr.contract.wage.type.period,factor_days:0 +msgid "Hours in the period" +msgstr "" + +#. module: hr_contract +#: field:hr.contract,function:0 +msgid "Function" +msgstr "" + +#. module: hr_contract +#: field:hr.employee,marital_status:0 +#: view:hr.employee.marital.status:0 +#: field:hr.employee.marital.status,name:0 +#: model:ir.actions.act_window,name:hr_contract.action_hr_marital_status +#: model:ir.ui.menu,name:hr_contract.hr_menu_marital_status +msgid "Marital Status" +msgstr "" + +#. module: hr_contract +#: view:hr.employee:0 +msgid "Miscelleanous" +msgstr "" + +#. module: hr_contract +#: view:hr.contract:0 +#: view:hr.employee:0 +#: field:hr.employee,contract_ids:0 +msgid "Contracts" +msgstr "" + +#. module: hr_contract +#: field:hr.contract.wage.type,type:0 +msgid "Type" +msgstr "" + +#. module: hr_contract +#: field:hr.contract,wage_type_id:0 +#: view:hr.contract.wage.type:0 +#: model:ir.model,name:hr_contract.model_hr_contract_wage_type +msgid "Wage Type" +msgstr "" + +#. module: hr_contract +#: field:hr.contract.wage.type.period,name:0 +msgid "Period Name" +msgstr "" + +#. module: hr_contract +#: model:ir.model,name:hr_contract.model_hr_employee_marital_status +msgid "Employee Marital Status" +msgstr "" + +#. module: hr_contract +#: field:hr.employee,medic_exam:0 +msgid "Medical examination date" +msgstr "" + +#. module: hr_contract +#: field:hr.contract.wage.type,name:0 +msgid "Wage Type Name" +msgstr "" + +#. module: hr_contract +#: field:hr.contract,working_hours_per_day:0 +msgid "Working hours per day" +msgstr "" + +#. module: hr_contract +#: view:hr.employee:0 +msgid "Salary" +msgstr "" + +#. module: hr_contract +#: field:hr.contract,date_end:0 +msgid "End Date" +msgstr "" + +#. module: hr_contract +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: hr_contract +#: view:hr.contract:0 +#: field:hr.contract,notes:0 +#: view:hr.employee:0 +msgid "Notes" +msgstr "" + +#. module: hr_contract +#: view:hr.contract:0 +#: view:hr.employee:0 +#: model:ir.actions.act_window,name:hr_contract.action_hr_contract +#: model:ir.model,name:hr_contract.model_hr_contract +#: model:ir.ui.menu,name:hr_contract.hr_menu_contract +#: model:ir.ui.menu,name:hr_contract.next_id_56 +msgid "Contract" +msgstr "" + +#. module: hr_contract +#: view:hr.contract.type:0 +msgid "Contract Type" +msgstr "" + +#. module: hr_contract +#: field:hr.contract.wage.type,period_id:0 +#: model:ir.model,name:hr_contract.model_hr_contract_wage_type_period +msgid "Wage Period" +msgstr "" + +#. module: hr_contract +#: field:hr.employee,audiens_num:0 +msgid "AUDIENS Number" +msgstr "" + +#. module: hr_contract +#: view:hr.contract:0 +msgid "Remuneration" +msgstr "" + +#. module: hr_contract +#: field:hr.contract,name:0 +msgid "Contract Name" +msgstr "" + +#. module: hr_contract +#: model:ir.actions.act_window,name:hr_contract.action_hr_contract_wage_type +#: model:ir.ui.menu,name:hr_contract.hr_menu_contract_wage_type +msgid "Contract Wage Type" +msgstr "" + +#. module: hr_contract +#: field:hr.employee,place_of_birth:0 +msgid "Place of Birth" +msgstr "" + +#. module: hr_contract +#: field:hr.employee,manager:0 +msgid "Manager" +msgstr "" + +#. module: hr_contract +#: view:hr.contract.wage.type.period:0 +#: model:ir.actions.act_window,name:hr_contract.action_hr_contract_wage_type_period +#: model:ir.ui.menu,name:hr_contract.hr_menu_contract_wage_type_period +msgid "Wage period" +msgstr "" + +#. module: hr_contract +#: help:hr.contract.wage.type,factor_type:0 +#: help:hr.contract.wage.type.period,factor_days:0 +msgid "" +"This field is used by the timesheet system to compute the price of an hour " +"of work wased on the contract of the employee" +msgstr "" + +#. module: hr_contract +#: field:hr.contract,wage:0 +msgid "Wage" +msgstr "" + +#. module: hr_contract +#: field:hr.contract,date_start:0 +msgid "Start Date" +msgstr "" + +#. module: hr_contract +#: field:hr.employee.marital.status,description:0 +msgid "Status Description" +msgstr "" + +#. module: hr_contract +#: view:hr.contract:0 +#: view:hr.employee:0 +msgid "Contract Duration" +msgstr "" diff --git a/addons/profile_service/i18n/fi.po b/addons/profile_service/i18n/fi.po new file mode 100644 index 00000000000..4ed1c11bd9e --- /dev/null +++ b/addons/profile_service/i18n/fi.po @@ -0,0 +1,250 @@ +# Finnish translation for openobject-addons +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2009-08-28 16:01+0000\n" +"PO-Revision-Date: 2010-01-25 08:54+0000\n" +"Last-Translator: pmjt \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2010-01-26 04:51+0000\n" +"X-Generator: Launchpad (build Unknown)\n" + +#. module: profile_service +#: constraint:ir.model:0 +msgid "" +"The Object name must start with x_ and not contain any special character !" +msgstr "" + +#. module: profile_service +#: view:profile.service.config.install_modules_wizard:0 +msgid "Services Management" +msgstr "" + +#. module: profile_service +#: view:profile.service.config.install_modules_wizard:0 +msgid "Relationship Management" +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,project_mrp:0 +msgid "" +"Manages quotation and sales orders. It allows you to automatically create " +"and invoice tasks on fixes prices from quotations." +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,project_gtd:0 +msgid "" +"GTD is a methodology to efficiently organise yourself and your tasks. This " +"module fully integrates GTD principle with OpenERP's project management." +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,board_document:0 +msgid "" +"The Document Management System of Open ERP allows you to store, browse, " +"automatically index, search and preview all kind of documents (internal " +"documents, printed reports, calendar system). It opens an FTP access for the " +"users to easily browse association's document." +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,account_budget_crossover:0 +msgid "" +"Allows you to manage analytic budgets by journals. This module is used to " +"manage budgets of your projects." +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,project_timesheet:0 +msgid "Timesheets" +msgstr "Tuntilistat" + +#. module: profile_service +#: constraint:ir.actions.act_window:0 +msgid "Invalid model name in the action definition." +msgstr "Virheellinen mallin nimi toimenpiteen määrittelyssä." + +#. module: profile_service +#: view:profile.service.config.install_modules_wizard:0 +msgid "Resources Management" +msgstr "" + +#. module: profile_service +#: model:ir.actions.act_window,name:profile_service.action_config_install_module +msgid "Service Profile : Install Extra Modules" +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,account_budget_crossover:0 +msgid "Analytic Budgets" +msgstr "" + +#. module: profile_service +#: model:ir.module.module,shortdesc:profile_service.module_meta_information +msgid "Service company profile" +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,hr_timesheet_invoice:0 +msgid "" +"There are different invoicing methods in OpenERP: from sale orders, from " +"shipping, ... Install this module if you plan to invoice your customers " +"based on time spent on projects." +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,crm_configuration:0 +msgid "CRM & Calendars" +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,board_document:0 +msgid "Document Management" +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,portal:0 +msgid "Portal" +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,hr_holidays:0 +msgid "" +"Tracks the full holidays management process, from the employee's request to " +"the global planning." +msgstr "" + +#. module: profile_service +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,scrum:0 +msgid "" +"Scrum is an 'agile development methodology', mainly used in IT projects. It " +"helps you to manage teams, long term roadmaps, sprints, and so on." +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,portal:0 +msgid "This module allows you to manage a Portal system." +msgstr "" + +#. module: profile_service +#: view:profile.service.config.install_modules_wizard:0 +msgid "Portal Management" +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,hr_holidays:0 +msgid "Holidays Management" +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,crm_configuration:0 +msgid "" +"This installs the customer relationship features like: leads and " +"opportunities tracking, shared calendar, jobs tracking, bug tracker, and so " +"on." +msgstr "" + +#. module: profile_service +#: view:profile.service.config.install_modules_wizard:0 +msgid "Install" +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,hr_expense:0 +msgid "Expenses Tracking" +msgstr "" + +#. module: profile_service +#: model:ir.model,name:profile_service.model_profile_service_config_install_modules_wizard +msgid "profile.service.config.install_modules_wizard" +msgstr "" + +#. module: profile_service +#: view:profile.service.config.install_modules_wizard:0 +msgid "Install Extra Module" +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,project_timesheet:0 +msgid "" +"Timesheets allows you to track time and costs spent on different projects, " +"represented by analytic accounts." +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,wiki:0 +msgid "Wiki" +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,project_gtd:0 +msgid "Getting Things Done" +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,hr_timesheet_invoice:0 +msgid "Invoice on Timesheets" +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,base_contact:0 +msgid "Advanced Contacts Management" +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,wiki:0 +msgid "" +"An integrated wiki content management system. This is really usefull to " +"manage FAQ, quality manuals, etc." +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,hr_expense:0 +msgid "" +"Tracks the personal expenses process, from the employee expense encoding, to " +"the reimbursement of the employee up to the reinvoicing to the final " +"customer." +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,scrum:0 +msgid "Scrum Methodology" +msgstr "" + +#. module: profile_service +#: field:profile.service.config.install_modules_wizard,project_mrp:0 +msgid "Sales Management" +msgstr "" + +#. module: profile_service +#: model:ir.module.module,description:profile_service.module_meta_information +msgid "Profile for service companies" +msgstr "" + +#. module: profile_service +#: view:profile.service.config.install_modules_wizard:0 +msgid "Cancel" +msgstr "" + +#. module: profile_service +#: help:profile.service.config.install_modules_wizard,base_contact:0 +msgid "" +"Allows you to manage partners (enterprises), addresses of partners and " +"contacts of these partners (employee/people). Install this if you plan to " +"manage your relationships with partners and contacts, with contacts having " +"different jobs in different companies." +msgstr "" diff --git a/addons/project/i18n/ru.po b/addons/project/i18n/ru.po index a646632dd5d..bbb6c2d0be9 100644 --- a/addons/project/i18n/ru.po +++ b/addons/project/i18n/ru.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.0\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-11-17 10:38+0000\n" -"Last-Translator: Fabien (Open ERP) \n" +"PO-Revision-Date: 2010-01-25 21:17+0000\n" +"Last-Translator: marath \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2009-12-16 05:02+0000\n" +"X-Launchpad-Export-Date: 2010-01-26 04:51+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: project @@ -84,7 +84,7 @@ msgstr "Подпроект" #. module: project #: field:project.project,members:0 msgid "Project Members" -msgstr "" +msgstr "Участники проекта" #. module: project #: model:process.node,name:project.process_node_taskbydelegate0 @@ -117,7 +117,7 @@ msgstr "Важность" #. module: project #: view:config.compute.remaining:0 msgid "Update" -msgstr "" +msgstr "Обновить" #. module: project #: help:project.task.delegate,init,user_id:0 @@ -148,7 +148,7 @@ msgstr "Типы заданий" #. module: project #: view:project.project:0 msgid "New Project Based on Template" -msgstr "" +msgstr "Новый проект на основе шаблона" #. module: project #: model:ir.actions.act_window,name:project.dblc_proj @@ -187,7 +187,7 @@ msgstr "" #. module: project #: model:process.node,name:project.process_node_drafttask0 msgid "Draft task" -msgstr "" +msgstr "Черновик задания" #. module: project #: model:ir.model,name:project.model_project_task @@ -210,17 +210,17 @@ msgstr "" #: view:project.task:0 #: field:project.task,notes:0 msgid "Notes" -msgstr "Примечания" +msgstr "Записи" #. module: project #: selection:res.company,project_time_mode:0 msgid "Days" -msgstr "" +msgstr "Дней" #. module: project #: model:project.task.type,name:project.project_tt_analysis msgid "Analysis" -msgstr "" +msgstr "Анализ" #. module: project #: model:ir.model,name:project.model_project_project @@ -233,7 +233,7 @@ msgstr "Проект" #. module: project #: view:project.task:0 msgid "Start Task" -msgstr "" +msgstr "Запуск задания" #. module: project #: model:ir.actions.act_window,name:project.action_view_task5_prog_draft @@ -292,7 +292,7 @@ msgstr "" #. module: project #: help:project.task.delegate,init,new_task_description:0 msgid "Reinclude the description of the task in the task of the user." -msgstr "" +msgstr "Повторно включать описание задания в задание пользователя." #. module: project #: field:project.project,category_id:0 @@ -314,7 +314,7 @@ msgstr "Все задания" #. module: project #: view:project.task:0 msgid "Planning" -msgstr "" +msgstr "Планирование" #. module: project #: view:project.task:0 @@ -325,7 +325,7 @@ msgstr "Доп. информация" #: field:project.project,partner_id:0 #: field:project.task,partner_id:0 msgid "Partner" -msgstr "" +msgstr "Партнер" #. module: project #: field:project.task,planned_hours:0 @@ -341,7 +341,7 @@ msgstr "Задание: %(name)s" #. module: project #: view:project.project:0 msgid "Reset as Project" -msgstr "" +msgstr "Сбросить как проект" #. module: project #: view:project.task:0 @@ -353,6 +353,8 @@ msgstr "Делегированные" msgid "" "Project's member. Not used in any computation, just for information purpose." msgstr "" +"Участников проекта. Не использовать в расчетах, только в информационных " +"целях." #. module: project #: view:project.project:0 @@ -363,7 +365,7 @@ msgstr "Мои проекты" #: model:ir.actions.act_window,name:project.open_view_project_all #: model:ir.ui.menu,name:project.menu_open_view_project_all msgid "All projects" -msgstr "" +msgstr "Все проекты" #. module: project #: model:process.transition,note:project.process_transition_draftopentask0 @@ -374,7 +376,7 @@ msgstr "" #. module: project #: wizard_view:project.task.delegate,init:0 msgid "Delegated Task" -msgstr "Делегированная задание" +msgstr "Порученное задание" #. module: project #: help:project.project,progress_rate:0 @@ -384,17 +386,17 @@ msgstr "" #. module: project #: wizard_field:project.task.delegate,init,new_task_description:0 msgid "New Task Description" -msgstr "" +msgstr "Новое описание задания" #. module: project #: help:project.project,notes:0 msgid "Internal description of the project." -msgstr "" +msgstr "Внутреннее описание проекта." #. module: project #: field:project.project,parent_id:0 msgid "Parent Project" -msgstr "" +msgstr "Основной проект" #. module: project #: help:project.task,total_hours:0 @@ -416,13 +418,13 @@ msgstr "" #: model:ir.actions.act_window,name:project.action_view_task5_prog #: model:ir.ui.menu,name:project.menu_tasks_yours_prog msgid "My Current Tasks" -msgstr "" +msgstr "Мои текущие задания" #. module: project #: model:ir.actions.act_window,name:project.open_view_project #: model:ir.ui.menu,name:project.menu_open_view_project msgid "New Project" -msgstr "" +msgstr "Новый проект" #. module: project #: selection:project.task,priority:0 @@ -444,7 +446,7 @@ msgstr "Тип проектного задания" #. module: project #: field:project.project,planned_hours:0 msgid "Planned Time" -msgstr "" +msgstr "Запланированное время" #. module: project #: model:ir.model,name:project.model_project_task_work @@ -456,7 +458,7 @@ msgstr "Работа по заданию" #. module: project #: selection:res.company,project_time_mode:0 msgid "Hours" -msgstr "" +msgstr "Часов" #. module: project #: model:ir.actions.act_window,name:project.action_view_task5_pending @@ -480,13 +482,13 @@ msgstr "Неназначенные задания" #. module: project #: wizard_field:project.task.delegate,init,name:0 msgid "Delegated Title" -msgstr "" +msgstr "Название поручения" #. module: project #: model:ir.actions.act_window,name:project.open_view_my_project #: model:ir.ui.menu,name:project.menu_open_view_my_project msgid "My Projects" -msgstr "" +msgstr "Мои проекты" #. module: project #: help:project.task.delegate,init,planned_hours:0 @@ -498,19 +500,19 @@ msgstr "" #. module: project #: selection:project.project,state:0 msgid "Template" -msgstr "" +msgstr "Шаблон" #. module: project #: model:ir.ui.menu,name:project.menu_definitions #: view:res.company:0 msgid "Configuration" -msgstr "Настройки" +msgstr "Конфигурация" #. module: project #: field:project.project,date_start:0 #: field:project.task,date_start:0 msgid "Starting Date" -msgstr "" +msgstr "Дата начала" #. module: project #: model:ir.ui.menu,name:project.menu_all_project @@ -531,7 +533,7 @@ msgstr "Описание задания" #. module: project #: model:process.node,name:project.process_node_triggerinvoice0 msgid "Trigger Invoice" -msgstr "" +msgstr "Триггер счета" #. module: project #: model:process.transition,name:project.process_transition_draftopentask0 @@ -1153,7 +1155,7 @@ msgstr "Предположительное окончание" #. module: project #: model:process.node,note:project.process_node_taskbydelegate0 msgid "Delegate your task to the other user" -msgstr "" +msgstr "Поручить ваше задание другому пользователю" #. module: project #: view:project.project:0 @@ -1165,4 +1167,4 @@ msgstr "Нижняя часть письма" #: model:ir.actions.act_window,name:project.open_view_project_open #: model:ir.ui.menu,name:project.menu_open_view_project_open msgid "Running projects" -msgstr "" +msgstr "Запущенные проекты" diff --git a/addons/thunderbird/i18n/cs.po b/addons/thunderbird/i18n/cs.po new file mode 100644 index 00000000000..6bf154a05f2 --- /dev/null +++ b/addons/thunderbird/i18n/cs.po @@ -0,0 +1,86 @@ +# Czech translation for openobject-addons +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2009-11-26 06:05+0000\n" +"PO-Revision-Date: 2010-01-25 11:49+0000\n" +"Last-Translator: Kuvaly [LCT] \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2010-01-26 04:52+0000\n" +"X-Generator: Launchpad (build Unknown)\n" + +#. module: thunderbird +#: field:tinythunderbird.partner,copy_to:0 +msgid "Copy To" +msgstr "Kopírovat do" + +#. module: thunderbird +#: constraint:ir.model:0 +msgid "" +"The Object name must start with x_ and not contain any special character !" +msgstr "" +"Jméno objektu musí začínat znakem x_ a nesmí obsahovat žádný speciální znak!" + +#. module: thunderbird +#: field:tinythunderbird.partner,description:0 +msgid "Description" +msgstr "Popis" + +#. module: thunderbird +#: field:tinythunderbird.partner,reference:0 +msgid "Reference" +msgstr "Reference" + +#. module: thunderbird +#: model:ir.model,name:thunderbird.model_tinythunderbird_partner +msgid "Thunderbid mails" +msgstr "Maily Thunderbid" + +#. module: thunderbird +#: field:tinythunderbird.partner,attachments:0 +msgid "Attached Files" +msgstr "Přiložené soubory" + +#. module: thunderbird +#: field:tinythunderbird.partner,res_user_id:0 +msgid "User" +msgstr "Uživatel" + +#. module: thunderbird +#: field:tinythunderbird.partner,receiver:0 +msgid "Receiver" +msgstr "Příjemce" + +#. module: thunderbird +#: field:tinythunderbird.partner,date:0 +msgid "Date" +msgstr "Datum" + +#. module: thunderbird +#: field:tinythunderbird.partner,title:0 +msgid "Subject" +msgstr "Předmět" + +#. module: thunderbird +#: code:addons/thunderbird/partner/partner.py:0 +#, python-format +msgid "Archive" +msgstr "Archiv" + +#. module: thunderbird +#: model:ir.module.module,shortdesc:thunderbird.module_meta_information +msgid "Thunderbird Interface" +msgstr "Rozhraní Thunderbird" + +#. module: thunderbird +#: field:tinythunderbird.partner,sender:0 +msgid "Sender" +msgstr "Odesílatel" diff --git a/addons/wiki/i18n/cs.po b/addons/wiki/i18n/cs.po index 1be745aca4c..c57498e52ad 100644 --- a/addons/wiki/i18n/cs.po +++ b/addons/wiki/i18n/cs.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.4\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-12-22 16:17+0000\n" -"Last-Translator: Kuvaly \n" +"PO-Revision-Date: 2010-01-25 11:32+0000\n" +"Last-Translator: Kuvaly [LCT] \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2009-12-24 04:40+0000\n" +"X-Launchpad-Export-Date: 2010-01-26 04:52+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: wiki @@ -281,7 +281,7 @@ msgstr "Wiki" #. module: wiki #: field:wiki.wiki,write_date:0 msgid "Modification Date" -msgstr "" +msgstr "Datum změny" #. module: wiki #: model:ir.actions.wizard,name:wiki.wizard_make_index From f09a07529dd2dfad1f1e1546206591cbebc963ac Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 26 Jan 2010 20:44:40 +0100 Subject: [PATCH 02/21] merge bzr revid: fp@tinyerp.com-20100126194440-qngp7q3ve058jowl --- addons/document/document_directory.py | 10 + addons/document_change/__terp__.py | 24 +- addons/document_change/cat_demo.xml | 10 + addons/document_change/document_change.py | 134 +++-- .../document_change/document_change_data.xml | 45 +- .../document_change/document_change_view.xml | 486 +++++++++--------- 6 files changed, 356 insertions(+), 353 deletions(-) create mode 100644 addons/document_change/cat_demo.xml diff --git a/addons/document/document_directory.py b/addons/document/document_directory.py index 2623c1f3852..8aa513af581 100644 --- a/addons/document/document_directory.py +++ b/addons/document/document_directory.py @@ -32,6 +32,7 @@ from tools.translate import _ class document_directory(osv.osv): _name = 'document.directory' _description = 'Document directory' + _order = 'name desc' _columns = { 'name': fields.char('Name', size=64, required=True, select=1), 'write_date': fields.datetime('Date Modified', readonly=True), @@ -98,6 +99,15 @@ class document_directory(osv.osv): ('dirname_uniq', 'unique (name,parent_id,ressource_id,ressource_parent_type_id)', 'The directory name must be unique !'), ('no_selfparent', 'check(parent_id <> id)', 'Directory cannot be parent of itself!') ] + def name_get(self, cr, uid, ids, context={}): + res = {} + for d in self.browse(cr, uid, ids, context=context): + s = d.name + while d: + s = d.name + (s and ('/' + s) or '') + d = d.parent_id + res[d] = s + return res def ol_get_resource_path(self,cr,uid,dir_id,res_model,res_id): # this method will be used in process module diff --git a/addons/document_change/__terp__.py b/addons/document_change/__terp__.py index 3e6107367f8..bb2c24d89e0 100644 --- a/addons/document_change/__terp__.py +++ b/addons/document_change/__terp__.py @@ -24,22 +24,24 @@ 'name': 'Integrated Document Management System', 'version': '1.99', 'category': 'Generic Modules/Others', - 'description': """The document_change module allows to track and manage process changes to - update documents in directories, and keep track of these updates. You - can define control points, phase of changes. + 'description': """ +The document_change module allows to track and manage process changes to +update documents in directories, and keep track of these updates. You +can define control points, phase of changes. This module has been +developed for Caterpilar Belgium. """, 'author': 'Tiny', 'website': 'http://www.openerp.com', 'depends': ['base', 'document_ftp','mail_gateway'], 'init_xml': ['document_change_data.xml'], - 'update_xml': [ - 'security/document_process_security.xml', - 'document_change_view.xml', - 'document_change_sequence.xml', - 'document_change_workflow.xml', - 'document_phase_workflow.xml', - 'document_process_workflow.xml', - + 'update_xml': [ + 'security/document_process_security.xml', + 'document_change_view.xml', + 'document_change_sequence.xml', + 'document_change_workflow.xml', + 'document_phase_workflow.xml', + 'document_process_workflow.xml', + 'cat_demo.xml' ], 'demo_xml': [ ], 'installable': True, diff --git a/addons/document_change/cat_demo.xml b/addons/document_change/cat_demo.xml new file mode 100644 index 00000000000..ea582680e03 --- /dev/null +++ b/addons/document_change/cat_demo.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/addons/document_change/document_change.py b/addons/document_change/document_change.py index 8be097bed4f..5b49c3d85d7 100644 --- a/addons/document_change/document_change.py +++ b/addons/document_change/document_change.py @@ -26,6 +26,7 @@ import netsvc from tools.translate import _ import time import datetime + class doucment_change_process_phase_type(osv.osv): _name = "document.change.process.phase.type" doucment_change_process_phase_type() @@ -33,11 +34,10 @@ doucment_change_process_phase_type() class document_change_type(osv.osv): _name = "document.change.type" _description = "Document Change Type" - _columns = { 'name': fields.char("Document Change Type", size=64,required=True), 'phase_type_ids': fields.many2many('document.change.process.phase.type','document_type_phase_type_rel','document_type_id','phase_type_id','Phase Type'), - 'directory_id' :fields.many2one('document.directory','Pending Directory'), + 'directory_id' :fields.many2one('document.directory','Pending Directory'), 'template_document_id':fields.many2one('ir.attachment','Document') } document_change_type() @@ -45,38 +45,36 @@ document_change_type() class doucment_change_process_phase_type(osv.osv): _name = "document.change.process.phase.type" _description = "Document Change Process Phase Type" - _columns = { 'name': fields.char("Document Changed Process Type", size=64), 'sequence': fields.integer('Sequence'), 'active': fields.boolean('Active'), 'document_type_ids': fields.many2many('document.change.type','document_type_phase_type_rel','phase_type_id','document_type_id','Document Type'), } - _defaults = { - 'active': lambda *a:1, + _defaults = { + 'active': lambda *a:1, } doucment_change_process_phase_type() -class doucment_change_process(osv.osv): +class doucment_change_process(osv.osv): _name = "document.change.process" doucment_change_process() class doucment_change_process_phase(osv.osv): _name = "document.change.process.phase" _description = "Document Change Process Phase" - _columns = { 'name': fields.char("Name", size=64, required=True), 'process_id':fields.many2one('document.change.process','Process Change'), 'sequence': fields.integer('Sequence'), - 'update_document': fields.selection([('at_endPhase', 'End Phase'),('at_endprocess', 'End Process')], 'Update Document', required=True), + 'update_document': fields.selection([('at_endPhase', 'End Phase'),('at_endprocess', 'End Process')], 'Update Document', required=True), 'type': fields.selection([('control_required', 'Control Required'),('no_control', 'No Control')], 'Type'), - 'date_control': fields.date('Control Date', select=True), + 'date_control': fields.date('Control Date', select=True), 'phase_type_id':fields.many2one('document.change.process.phase.type','Phase Type'), 'state': fields.selection([('draft', 'Draft'),('in_process', 'Started'),('to_validate', 'To Validate'),('done', 'Done')], 'State',readonly=True), 'phase_document_ids':fields.one2many('ir.attachment','process_phase_id','Documents'), } - _defaults = { + _defaults = { 'state': lambda *a: 'draft', 'update_document': lambda *a:'at_endPhase', 'type':lambda *a: 'no_control', @@ -91,11 +89,11 @@ class doucment_change_process_phase(osv.osv): def do_start(self, cr, uid, ids, *args): self.write(cr, uid, ids, {'state':'in_process'}) - return True + return True def do_done(self, cr, uid, ids, *args): self.write(cr, uid, ids, {'state':'done'}) - return True + return True def test_control_request(self, cr, uid, ids, context=None): return all(bool(process.type) =='control_required' for process in self.browse(cr, uid, ids, context=context)) @@ -107,7 +105,7 @@ doucment_change_process_phase() class document_change_process_model(osv.osv): _name = "document.change.process.model" _description = "Document Change Process model" - + _columns = { 'name': fields.char("Changed Process Model", size=64,required=True), 'sequence': fields.integer('Sequence'), @@ -117,8 +115,8 @@ document_change_process_model() class document_change_process_type(osv.osv): _name = "document.change.process.type" - _description = "Document Change Process Type" - + _description = "Document Change Process Type" + _columns = { 'name': fields.char("Changed Process Type", size=64), } @@ -126,20 +124,20 @@ document_change_process_type() class document_change_process_email(osv.osv): _name = "document.change.process.mail" - _description = "Document Change Process Email Notification" - + _description = "Document Change Process Email Notification" + _columns = { 'name': fields.char("Email", size=64), 'type':fields.selection([('start_end', 'Start/End Process '),('change_all', 'Change in All Document')], 'Notification Type'), - 'process_id':fields.many2one('document.change.process','Process Change'), + 'process_id':fields.many2one('document.change.process','Process Change'), } document_change_process_email() class doucment_change_process(osv.osv): - + _name = "document.change.process" _description = "Document Change Process" - + def _latestmodification(self, cr, uid, ids, field_name, arg, context={}): res = {} #TODOto calculate latest modified date from all related documents @@ -148,16 +146,16 @@ class doucment_change_process(osv.osv): if not ids: return {} res = {} - attach = self.pool.get('ir.attachment') - directory_obj = self.pool.get('document.directory') + attach = self.pool.get('ir.attachment') + directory_obj = self.pool.get('document.directory') for process_change in self.browse(cr, uid, ids): - res1 = [] + res1 = [] for phase_id in process_change.process_phase_ids: - res1 += map(lambda x:x.id, phase_id.phase_document_ids or []) - res[process_change.id] = res1 + res1 += map(lambda x:x.id, phase_id.phase_document_ids or []) + res[process_change.id] = res1 return res - + def _get_progress(self, cr, uid, ids, field_name, arg, context={}): result = {} progress = 0.0 @@ -170,7 +168,7 @@ class doucment_change_process(osv.osv): progress = (float(len(update_docs))/float(len(proc_change.process_document_ids)))*100 result[proc_change.id] = progress return result - + def _get_current_phase(self, cr, uid, ids, field_name, arg, context={}): result = {} for proc in self.browse(cr, uid, ids): @@ -178,8 +176,8 @@ class doucment_change_process(osv.osv): for phase in proc.process_phase_ids: if phase.state in ('in_process','to_validate'): result[proc.id] = phase.id - return result - + return result + _columns = { 'name': fields.char("Process Change", size=64, required=True, select=True), 'process_type_id' :fields.many2one('document.change.process.type','Type Change'), @@ -190,43 +188,43 @@ class doucment_change_process(osv.osv): 'user_id':fields.many2one('res.users','Change Owner'), 'create_date':fields.datetime('Creation',readonly=True), 'latest_modified_date':fields.function(_latestmodification, method=True, type='datetime', string="Lastest Modification"), #TODO no year! - 'date_expected':fields.datetime('Expected Production'), + 'date_expected':fields.datetime('Expected Production'), 'state':fields.selection([('draft', 'Draft'),('in_progress', 'In Progress'),('to_validate', 'To Validate'), ('pending', 'Pending'), ('done', 'Done'),('cancel','Cancelled')], 'state', readonly=True), - 'process_phase_ids':fields.one2many('document.change.process.phase','process_id','Phase'), + 'process_phase_ids':fields.one2many('document.change.process.phase','process_id','Phase'), 'current_phase_id': fields.function(_get_current_phase, method=True, type='many2one', relation='document.change.process.phase', string='Current Phase'), - 'date_control': fields.related('current_phase_id','date_control', type='date', string='Control Date'), + 'date_control': fields.related('current_phase_id','date_control', type='date', string='Control Date'), 'progress': fields.function(_get_progress, method=True, type='float', string='Progress'), 'process_document_ids': fields.many2many('ir.attachment','document_changed_process_rel','process_id','change_id','Document To Change'), 'pending_directory_id' :fields.many2one('document.directory','Pending Directory'), } - _defaults = { + _defaults = { 'name': lambda obj, cr, uid, context: obj.pool.get('ir.sequence').get(cr, uid, 'document.change.process'), 'state': lambda *a: 'draft', } def do_start(self, cr, uid, ids, context={}): - self.write(cr, uid, ids, {'state':'in_progress'},context=context) + self.write(cr, uid, ids, {'state':'in_progress'},context=context) return True def do_pending(self, cr, uid, ids, context={}): - self.write(cr, uid, ids, {'state':'pending'},context=context) - return True - + self.write(cr, uid, ids, {'state':'pending'},context=context) + return True + def do_confirm(self, cr, uid, ids, context={}): self.write(cr, uid, ids, {'state':'to_validate'},context=context) - return True + return True def do_done(self, cr, uid, ids, context={}): self.write(cr, uid, ids, {'state':'done'},context=context) - return True - + return True + def do_cancel(self, cr, uid, ids, context={}): - return self.write(cr, uid, ids, {'state':'cancel'},context=context) + return self.write(cr, uid, ids, {'state':'cancel'},context=context) def generate_phases(self, cr, uid, ids, *args): phase_obj = self.pool.get('document.change.process.phase') - directory_obj = self.pool.get('document.directory') + directory_obj = self.pool.get('document.directory') document_obj = self.pool.get('ir.attachment') - new_doc_ids = [] + new_doc_ids = [] for process in self.browse(cr, uid, ids): if process.process_model_id: directory_ids = directory_obj.search(cr, uid, [('parent_id','child_of',process.structure_id and process.structure_id.id)]) @@ -235,27 +233,27 @@ class doucment_change_process(osv.osv): document_ids = document_obj.search(cr, uid, [ ('parent_id','in',directory_ids), ('change_type_id','=',document_type_id.id)]) - new_doc_ids = [] - for document_id in document_ids: - vals = {} + new_doc_ids = [] + for document_id in document_ids: + vals = {} if process.pending_directory_id: vals.update({'parent_id':process.pending_directory_id.id}) - new_doc_ids.append(document_obj.copy(cr, uid, document_id, vals)) + new_doc_ids.append(document_obj.copy(cr, uid, document_id, vals)) phase_value = { 'name' : '%s-%s' %(phase_type_id.name, process.name), 'phase_type_id': phase_type_id.id, 'process_id': process.id, - 'phase_document_ids': [(6,0,new_doc_ids)] - } - phase_obj.create(cr, uid, phase_value) - + 'phase_document_ids': [(6,0,new_doc_ids)] + } + phase_obj.create(cr, uid, phase_value) + return True doucment_change_process() class document_file(osv.osv): _inherit = 'ir.attachment' - + _columns = { 'change_type_id':fields.many2one('document.change.type','Document Type'), 'state': fields.selection([('in_production', 'In Production'), ('change_request', 'Change Request'),('change_propose', 'Change Proposed'), ('to_update', 'To Update'), ('cancel', 'Cancel')], 'State'), @@ -265,10 +263,10 @@ class document_file(osv.osv): 'progress': fields.float('Progress'), #TODO : functio field: calculate progress 'change_process_id': fields.related('process_phase_id', 'process_id', type='many2one', relation='document.change.process', string='Change Process'), } - _defaults = { + _defaults = { 'state': lambda *a: 'in_production', - } - + } + def _check_duplication(self, cr, uid, vals, ids=[], op='create'): name=vals.get('name',False) parent_id=vals.get('parent_id',False) @@ -293,15 +291,15 @@ class document_file(osv.osv): if len(res): return False return True - + def do_change_request(self, cr, uid, ids, context={}): - self.write(cr, uid, ids, {'state':'change_request'},context=context) + self.write(cr, uid, ids, {'state':'change_request'},context=context) return True def do_change_propose(self, cr, uid, ids, context={}): - self.write(cr, uid, ids, {'state':'change_propose'},context=context) - return True - + self.write(cr, uid, ids, {'state':'change_propose'},context=context) + return True + def do_to_update(self, cr, uid, ids, context={}): for attach in self.browse(cr, uid, ids, context=context): if attach.change_type_id.directory_id.id: @@ -314,21 +312,21 @@ class document_file(osv.osv): file_name=data['datas_fname'].split('.') new_name=str(file_name[0]+'.old'+time.strftime("%y%m%d")+'.'+file_name[1]) res['name']=attach.name - res['datas']=data['datas'] + res['datas']=data['datas'] res['datas_fname']=new_name res['parent_id']=attach.change_type_id.directory_id.id old_id = self.create(cr, uid, res) - self.write(cr, uid, ids, {'state':'to_update'},context=context) - return True + self.write(cr, uid, ids, {'state':'to_update'},context=context) + return True def do_production(self, cr, uid, ids, context={}): self.write(cr, uid, ids, {'state':'in_production'},context=context) - return True - + return True + def do_cancel(self, cr, uid, ids, context={}): - return self.write(cr, uid, ids, {'state':'cancel'},context=context) - + return self.write(cr, uid, ids, {'state':'cancel'},context=context) + def test_change_request(self, cr, uid, ids, context=None): return all(bool(attch.target_document_id) != False for attch in self.browse(cr, uid, ids, context=context)) - + document_file() diff --git a/addons/document_change/document_change_data.xml b/addons/document_change/document_change_data.xml index f43b36a7361..ce90be34770 100644 --- a/addons/document_change/document_change_data.xml +++ b/addons/document_change/document_change_data.xml @@ -1,18 +1,19 @@ - - - + + + Gosselies + Bat E - + Bat Z - + @@ -68,8 +69,8 @@ - - + + FIE_template FIE_template.xls @@ -89,16 +90,16 @@ TaktTime_template.xls - - - + + + Project Charter VSM - + Takt Time @@ -111,8 +112,8 @@ - - + + FIE_05466_001 FIE_05466_001.xls @@ -137,8 +138,8 @@ - - + + Concept 1 @@ -154,8 +155,8 @@ - - + + NPI @@ -164,18 +165,18 @@ - + - Quality Alert + Quality Alert - New Product + New Product - Red Risk + Red Risk - CI Card + CI Card diff --git a/addons/document_change/document_change_view.xml b/addons/document_change/document_change_view.xml index 536f173ba39..6b56c25d38b 100644 --- a/addons/document_change/document_change_view.xml +++ b/addons/document_change/document_change_view.xml @@ -2,40 +2,37 @@ - - - - - - - - + + + + + + + document.directory document.directory form -
- - - +
+ + +
- + document.directory document.directory tree - - - - + + + + - + ir.actions.act_window document.directory @@ -57,27 +54,27 @@ - - - - - + + + + + document.change.type.form document.change.type form
- - + + - +
@@ -88,9 +85,9 @@ tree - - - + + +
@@ -104,9 +101,9 @@ - - document.change.process.phase.type.form @@ -114,11 +111,11 @@ form
- - - - - + + + + + @@ -131,7 +128,7 @@ tree - + @@ -145,10 +142,10 @@ form tree,form
- + - + document.change.process.type.form @@ -156,7 +153,7 @@ form
- +
@@ -179,11 +176,11 @@ form tree,form - + - - document.change.process.model.form @@ -193,7 +190,7 @@
- + @@ -204,9 +201,9 @@ document.change.process.model tree - - - + + +
@@ -219,10 +216,10 @@ tree,form - - + + ir.attachment.form ir.attachment @@ -240,16 +237,16 @@ - -