From 4dd0244aff71a81ef29aed7906c3057addc2b923 Mon Sep 17 00:00:00 2001 From: Launchpad Code Hosting Date: Mon, 25 Jan 2010 04:48:58 +0000 Subject: [PATCH 01/34] Launchpad automatic translations update. bzr revid: codehost@crowberry-20100124045044-cd6qa2bqojh2b4lg bzr revid: codehost@crowberry-20100125044858-0dhq0ot3a9j4dfxh --- addons/account/i18n/hu.po | 2 +- addons/auction/i18n/pt_BR.po | 2 +- addons/base_contact/i18n/tr.po | 18 ++++---- addons/base_setup/i18n/tr.po | 8 ++-- addons/crm/i18n/pt.po | 2 +- addons/crm/i18n/pt_BR.po | 18 ++++---- addons/product/i18n/fr.po | 12 +++--- addons/product/i18n/hu.po | 2 +- addons/sale_crm/i18n/tr.po | 78 +++++++++++++++++----------------- 9 files changed, 71 insertions(+), 71 deletions(-) diff --git a/addons/account/i18n/hu.po b/addons/account/i18n/hu.po index ec574925a9d..629d46d10c3 100644 --- a/addons/account/i18n/hu.po +++ b/addons/account/i18n/hu.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-01-23 04:45+0000\n" +"X-Launchpad-Export-Date: 2010-01-24 04:50+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: account diff --git a/addons/auction/i18n/pt_BR.po b/addons/auction/i18n/pt_BR.po index 5d7c1dfe6bb..9cd95c4bc2e 100644 --- a/addons/auction/i18n/pt_BR.po +++ b/addons/auction/i18n/pt_BR.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-01-23 04:45+0000\n" +"X-Launchpad-Export-Date: 2010-01-24 04:50+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: auction diff --git a/addons/base_contact/i18n/tr.po b/addons/base_contact/i18n/tr.po index a20c496d34c..670d6329fbd 100644 --- a/addons/base_contact/i18n/tr.po +++ b/addons/base_contact/i18n/tr.po @@ -7,30 +7,30 @@ 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 17:44+0000\n" -"Last-Translator: Fabien (Open ERP) \n" +"PO-Revision-Date: 2010-01-24 18:48+0000\n" +"Last-Translator: Oktay Altunergil \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:08+0000\n" +"X-Launchpad-Export-Date: 2010-01-25 04:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: base_contact #: field:res.partner.job,sequence_contact:0 msgid "Contact Seq." -msgstr "" +msgstr "Bağlantı Sırası" #. module: base_contact #: model:ir.model,name:base_contact.model_res_partner_contact msgid "res.partner.contact" -msgstr "" +msgstr "res.partner.contact" #. module: base_contact #: constraint:ir.model:0 msgid "" "The Object name must start with x_ and not contain any special character !" -msgstr "" +msgstr "Nesne adı x_ ile başlamalı ve özel karakterler içermemelidir!" #. module: base_contact #: field:res.partner.job,function_id:0 @@ -45,7 +45,7 @@ msgstr "" #: view:res.partner.address:0 #: field:res.partner.address,job_ids:0 msgid "Contacts" -msgstr "Kişiler" +msgstr "Bağlantılar" #. module: base_contact #: field:res.partner.job,sequence_partner:0 @@ -55,7 +55,7 @@ msgstr "" #. module: base_contact #: selection:res.partner.job,state:0 msgid "Current" -msgstr "" +msgstr "Güncel" #. module: base_contact #: field:res.partner.contact,first_name:0 @@ -70,7 +70,7 @@ msgstr "" #. module: base_contact #: field:res.partner.job,other:0 msgid "Other" -msgstr "" +msgstr "Diğer" #. module: base_contact #: model:process.transition,name:base_contact.process_transition_contacttofunction0 diff --git a/addons/base_setup/i18n/tr.po b/addons/base_setup/i18n/tr.po index 9b148f60e86..b1c018e705a 100644 --- a/addons/base_setup/i18n/tr.po +++ b/addons/base_setup/i18n/tr.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:25+0000\n" -"Last-Translator: <>\n" +"PO-Revision-Date: 2010-01-24 18:52+0000\n" +"Last-Translator: Oktay Altunergil \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:10+0000\n" +"X-Launchpad-Export-Date: 2010-01-25 04:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: base_setup @@ -84,7 +84,7 @@ msgstr "" #: wizard_field:base_setup.base_setup,init,state_id:0 #: wizard_field:base_setup.base_setup,update,state_id:0 msgid "State" -msgstr "" +msgstr "Eyalet" #. module: base_setup #: wizard_view:base_setup.base_setup,finish:0 diff --git a/addons/crm/i18n/pt.po b/addons/crm/i18n/pt.po index cd47945a175..0382786e3b6 100644 --- a/addons/crm/i18n/pt.po +++ b/addons/crm/i18n/pt.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-01-23 04:45+0000\n" +"X-Launchpad-Export-Date: 2010-01-24 04:50+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: crm diff --git a/addons/crm/i18n/pt_BR.po b/addons/crm/i18n/pt_BR.po index 097de0ff95d..7f9365e1f6d 100644 --- a/addons/crm/i18n/pt_BR.po +++ b/addons/crm/i18n/pt_BR.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: 2010-01-05 05:59+0000\n" -"PO-Revision-Date: 2010-01-22 16:14+0000\n" +"PO-Revision-Date: 2010-01-23 18:58+0000\n" "Last-Translator: pedrobom \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: 2010-01-23 04:45+0000\n" +"X-Launchpad-Export-Date: 2010-01-24 04:50+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: crm @@ -1051,13 +1051,13 @@ msgstr "" #. module: crm #: wizard_field:crm.new.send.mail,init,state:0 msgid "Set State to" -msgstr "" +msgstr "Define Estado para" #. module: crm #: code:addons/crm/wizard/wizard_crm_send_email.py:0 #, python-format msgid "There is no mail to reply!" -msgstr "" +msgstr "Não há email para resposta!" #. module: crm #: wizard_button:crm.job.partner_create,init,confirm:0 @@ -1082,7 +1082,7 @@ msgstr "%(case_description)s = Descrição de Caso" #. module: crm #: view:crm.fundraising:0 msgid "My Funds" -msgstr "" +msgstr "Meus Fundos" #. module: crm #: field:crm.case,partner_mobile:0 @@ -1108,12 +1108,12 @@ msgstr "Processo Histórico" #. module: crm #: model:crm.case.categ,name:crm.categ_job2 msgid "Junior Developer" -msgstr "" +msgstr "Desenvolvedor júnior" #. module: crm #: view:crm.meeting:0 msgid "My Meetings" -msgstr "" +msgstr "Minhas Reuniões" #. module: crm #: field:crm.case.categ,name:0 @@ -1123,7 +1123,7 @@ msgstr "Nome da Categoria do Case" #. module: crm #: model:crm.case.category2,name:crm.category_claim2 msgid "Preventive" -msgstr "" +msgstr "Preventivo" #. module: crm #: field:crm.case.rule,act_email_cc:0 @@ -1161,7 +1161,7 @@ msgstr "" #: view:crm.meeting:0 #, python-format msgid "Meetings" -msgstr "" +msgstr "Reuniões" #. module: crm #: view:crm.case.rule:0 diff --git a/addons/product/i18n/fr.po b/addons/product/i18n/fr.po index aaa1dcef76f..4803a5a1d7e 100644 --- a/addons/product/i18n/fr.po +++ b/addons/product/i18n/fr.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.1\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 11:11+0000\n" -"Last-Translator: Fabien (Open ERP) \n" +"PO-Revision-Date: 2010-01-23 16:46+0000\n" +"Last-Translator: Sebastien LANGE - http://www.Syleam.fr \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:15+0000\n" +"X-Launchpad-Export-Date: 2010-01-24 04:50+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: product @@ -105,11 +105,11 @@ msgstr "Intervention senior sur site" #. module: product #: help:product.supplierinfo,qty:0 msgid "" -"The minimal quantity to purchase for this supplier, expressed in the purchase " +"The minimal quantity to purchase for this supplier, expressed in the default " "unit of measure." msgstr "" "La quantité minimum d'achat pour ce fournisseur, exprimée dans l'unité de " -"mesure d'achat" +"mesure par défaut" #. module: product #: field:product.template,weight_net:0 @@ -213,7 +213,7 @@ msgstr "Société" #. module: product #: field:product.template,rental:0 msgid "Rentable Product" -msgstr "Produit Rentable" +msgstr "Peut être loué" #. module: product #: field:product.product,lst_price:0 diff --git a/addons/product/i18n/hu.po b/addons/product/i18n/hu.po index b8b1d128f5b..00d25a8f20d 100644 --- a/addons/product/i18n/hu.po +++ b/addons/product/i18n/hu.po @@ -13,7 +13,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-01-23 04:45+0000\n" +"X-Launchpad-Export-Date: 2010-01-24 04:50+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: product diff --git a/addons/sale_crm/i18n/tr.po b/addons/sale_crm/i18n/tr.po index 2fbea4c132f..b852191caf6 100644 --- a/addons/sale_crm/i18n/tr.po +++ b/addons/sale_crm/i18n/tr.po @@ -7,39 +7,39 @@ 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 20:54+0000\n" -"Last-Translator: Fabien (Open ERP) \n" +"PO-Revision-Date: 2010-01-24 18:09+0000\n" +"Last-Translator: Oktay Altunergil \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:09+0000\n" +"X-Launchpad-Export-Date: 2010-01-25 04:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: sale_crm #: model:process.transition,name:sale_crm.process_transition_crmopportunityquotation msgid "Crm opportunity quotation" -msgstr "" +msgstr "CRM Fırsat Teklifi" #. module: sale_crm #: model:process.transition,name:sale_crm.process_transition_opportunityanalytic0 msgid "Opportunity Analytic" -msgstr "" +msgstr "Fırsat Analitiği" #. module: sale_crm #: help:crm.case.make_order,init,partner_id:0 msgid "Use this partner if there is no partner on the case" -msgstr "" +msgstr "Olaya bağlı ortak yoksa bu ortağı kullan" #. module: sale_crm #: wizard_button:sale_crm.make_case,init,create:0 msgid "Create" -msgstr "" +msgstr "Oluştur" #. module: sale_crm #: selection:crm.case.make_order,init,picking_policy:0 msgid "All at once" -msgstr "" +msgstr "Hepsi birden" #. module: sale_crm #: constraint:ir.ui.view:0 @@ -49,158 +49,158 @@ msgstr "Görüntüleme mimarisi için Geçersiz XML" #. module: sale_crm #: model:process.transition,note:sale_crm.process_transition_crmopportunityquotation msgid "Opportunity goes into the quotation" -msgstr "" +msgstr "Fırsat teklife gider" #. module: sale_crm #: model:process.node,name:sale_crm.process_node_contractanalytic0 msgid "Analytic account" -msgstr "" +msgstr "Analitik Hesap" #. module: sale_crm #: model:process.node,note:sale_crm.process_node_crmquotation0 msgid "Convert opportunity to quotation" -msgstr "" +msgstr "Fırsatı teklife dönüştür" #. module: sale_crm #: wizard_field:sale_crm.make_case,init,description:0 msgid "Your action" -msgstr "" +msgstr "Eyleminiz" #. module: sale_crm #: wizard_field:crm.case.make_order,init,picking_policy:0 msgid "Packing Policy" -msgstr "" +msgstr "Picking Policy" #. module: sale_crm #: wizard_button:crm.case.make_order,init,order:0 msgid "Create Quote" -msgstr "" +msgstr "Teklif Oluştur" #. module: sale_crm #: model:process.node,note:sale_crm.process_node_contractpricelist0 msgid "Contract Volume (pricelist)" -msgstr "" +msgstr "Sözleşme Miktarı (fiyat listesi)" #. module: sale_crm #: model:process.node,name:sale_crm.process_node_crmopportunity0 msgid "CRM Opportunity" -msgstr "" +msgstr "CRM Fırsatı" #. module: sale_crm #: model:ir.module.module,shortdesc:sale_crm.module_meta_information msgid "Sale CRM Stuff" -msgstr "" +msgstr "Sale CRM Stuff" #. module: sale_crm #: model:process.transition,note:sale_crm.process_transition_opportunityquotation0 msgid "Opportunity convert into quotation" -msgstr "" +msgstr "Fırsatı teklife çevir" #. module: sale_crm #: selection:crm.case.make_order,init,picking_policy:0 msgid "Direct Delivery" -msgstr "" +msgstr "Direk Teslim" #. module: sale_crm #: model:process.transition,name:sale_crm.process_transition_opportunityquotation0 msgid "Opportunity Quotation" -msgstr "" +msgstr "Fırsat Teklifi" #. module: sale_crm #: model:process.node,name:sale_crm.process_node_crmquotation0 msgid "Quotation" -msgstr "" +msgstr "Teklif" #. module: sale_crm #: view:crm.case:0 #: wizard_view:crm.case.make_order,init:0 msgid "Convert to Quote" -msgstr "" +msgstr "Teklife Dönüştür" #. module: sale_crm #: help:crm.case.make_order,init,close:0 msgid "Check this to close the case after having created the sale order." -msgstr "" +msgstr "Satış emrini oluşturduktan sonra olayı kapatmak için seçiniz." #. module: sale_crm #: wizard_field:crm.case.make_order,init,partner_id:0 msgid "Customer" -msgstr "" +msgstr "Müşteri" #. module: sale_crm #: model:process.transition,note:sale_crm.process_transition_opportunitypricelist0 msgid "Opporunity convert to the Pricelist" -msgstr "" +msgstr "Fırsatı Fiyat Listesine çevir" #. module: sale_crm #: wizard_field:sale_crm.make_case,init,user:0 msgid "User Responsible" -msgstr "" +msgstr "Sorumlu Kullanıcı" #. module: sale_crm #: model:process.node,note:sale_crm.process_node_contractanalytic0 msgid "Reflect the contract made with customer" -msgstr "" +msgstr "Müşteri ile yapılan sözleşmeye göre göster" #. module: sale_crm #: wizard_field:crm.case.make_order,init,products:0 msgid "Products" -msgstr "" +msgstr "Ürünler" #. module: sale_crm #: wizard_field:crm.case.make_order,init,close:0 msgid "Close Case" -msgstr "" +msgstr "Olay Kapat" #. module: sale_crm #: model:ir.actions.wizard,name:sale_crm.sale_crm_make_case_wizard #: wizard_view:sale_crm.make_case,init:0 msgid "Make Case" -msgstr "" +msgstr "Olay Yap" #. module: sale_crm #: wizard_field:crm.case.make_order,init,shop_id:0 msgid "Shop" -msgstr "" +msgstr "Mağaza" #. module: sale_crm #: model:process.node,note:sale_crm.process_node_crmopportunity0 msgid "The CRM Opportunity can lead to a quotation." -msgstr "" +msgstr "CRM Fırsatı teklifle sonuçlanabilir." #. module: sale_crm #: model:process.transition,name:sale_crm.process_transition_opportunitypricelist0 msgid "Opportunity Pricelist" -msgstr "" +msgstr "Fırsat Teklifi" #. module: sale_crm #: model:process.node,name:sale_crm.process_node_contractpricelist0 msgid "Contract Pricelist" -msgstr "" +msgstr "Sözleşme Fiyat Listesi" #. module: sale_crm #: wizard_field:sale_crm.make_case,init,name:0 msgid "Case Description" -msgstr "" +msgstr "Olay Tanımı" #. module: sale_crm #: wizard_field:crm.case.make_order,init,analytic_account:0 #: model:process.transition,note:sale_crm.process_transition_opportunityanalytic0 msgid "Analytic Account" -msgstr "" +msgstr "Analitik Hesap" #. module: sale_crm #: model:ir.actions.wizard,name:sale_crm.sale_crm_wizard msgid "Make Quotation" -msgstr "" +msgstr "Teklif Ver" #. module: sale_crm #: wizard_button:crm.case.make_order,init,end:0 #: wizard_button:sale_crm.make_case,init,end:0 msgid "Cancel" -msgstr "" +msgstr "Vazgeç" #. module: sale_crm #: wizard_field:sale_crm.make_case,init,section:0 msgid "Case Section" -msgstr "" +msgstr "Olay Bölümü" From ca6bb60ec9c9fb00fb5b2d93aa09887b0f47282a Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Mon, 25 Jan 2010 10:52:23 +0530 Subject: [PATCH 02/34] document_change: Add the field in directory_id and templated id in document_change view bzr revid: sbh@tinyerp.com-20100125052223-kssplh9a5ldxqe86 --- addons/document_change/document_change.py | 1 + addons/document_change/document_change_view.xml | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/addons/document_change/document_change.py b/addons/document_change/document_change.py index 33aa7c73878..990380ea296 100644 --- a/addons/document_change/document_change.py +++ b/addons/document_change/document_change.py @@ -36,6 +36,7 @@ class document_change_type(osv.osv): _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','Directory'), 'template_document_id':fields.many2one('ir.attachment','Document') } document_change_type() diff --git a/addons/document_change/document_change_view.xml b/addons/document_change/document_change_view.xml index 9d66714035d..8d1c825a8c8 100644 --- a/addons/document_change/document_change_view.xml +++ b/addons/document_change/document_change_view.xml @@ -74,6 +74,8 @@
+ + @@ -86,7 +88,9 @@ tree - + + + From 27044ea0a75b677ecbdbd88f6b4911feef4b9752 Mon Sep 17 00:00:00 2001 From: "rpa (Open ERP)" Date: Mon, 25 Jan 2010 11:16:13 +0530 Subject: [PATCH 03/34] [IMP]: Caldav: Improvement in export/import ics mapping bzr revid: rpa@openerp.co.in-20100125054613-owvxxvorfkegl3l2 --- addons/base_calendar/base_calendar.py | 5 +++++ addons/caldav/caldav_data.xml | 9 +-------- addons/crm/crm_meeting_data.xml | 6 ++++++ addons/project_calendar/project_calendar_data.xml | 10 ++++++++-- 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index 51b761250c5..a370ce9b64b 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -23,6 +23,7 @@ from datetime import datetime, timedelta from dateutil import parser from dateutil.rrule import * from osv import osv, fields +from tools.translate import _ import base64 import pooler import re @@ -177,6 +178,10 @@ class CalDAV(object): return vals def create_ics(self, cr, uid, datas, name, ical, context=None): + if not datas: + model = context.get('model', None) + war_str = "No data available" + (model and " for " + model) or "" + raise osv.except_osv(_('Warning !'), _(war_str)) for data in datas: vevent = ical.add(name) for field in self.__attribute__.keys(): diff --git a/addons/caldav/caldav_data.xml b/addons/caldav/caldav_data.xml index fb464ab95d7..b909bf1dc82 100644 --- a/addons/caldav/caldav_data.xml +++ b/addons/caldav/caldav_data.xml @@ -340,13 +340,6 @@ field - - - - - field - - @@ -379,7 +372,7 @@ - field + hours diff --git a/addons/crm/crm_meeting_data.xml b/addons/crm/crm_meeting_data.xml index 035a5c30175..e13346aed8a 100644 --- a/addons/crm/crm_meeting_data.xml +++ b/addons/crm/crm_meeting_data.xml @@ -27,6 +27,12 @@ crm.meeting + + vevent + + + + diff --git a/addons/project_calendar/project_calendar_data.xml b/addons/project_calendar/project_calendar_data.xml index b78931381b3..176feddd76f 100644 --- a/addons/project_calendar/project_calendar_data.xml +++ b/addons/project_calendar/project_calendar_data.xml @@ -1,7 +1,13 @@ - + + + vtodo + + + + @@ -35,7 +41,7 @@ - field + hours From f81dc986d70b3465626ecbd06b9bbae969fb72e3 Mon Sep 17 00:00:00 2001 From: "uco (OpenERP)" Date: Mon, 25 Jan 2010 11:20:29 +0530 Subject: [PATCH 04/34] [ADD]: Added Data file for document_change. bzr revid: uco@tinyerp.co.in-20100125055029-esvb7lll31b4vuoa --- addons/document_change/__terp__.py | 2 +- .../document_change/document_change_data.xml | 151 ++++++++++++++++++ 2 files changed, 152 insertions(+), 1 deletion(-) create mode 100644 addons/document_change/document_change_data.xml diff --git a/addons/document_change/__terp__.py b/addons/document_change/__terp__.py index ae230e0bdef..f18fe0edbd1 100644 --- a/addons/document_change/__terp__.py +++ b/addons/document_change/__terp__.py @@ -31,7 +31,7 @@ 'author': 'Tiny', 'website': 'http://www.openerp.com', 'depends': ['base', 'document_ftp','mail_gateway'], - 'init_xml': [], + 'init_xml': ['document_change_data.xml'], 'update_xml': ['document_change_view.xml', 'document_change_sequence.xml', 'document_change_workflow.xml', diff --git a/addons/document_change/document_change_data.xml b/addons/document_change/document_change_data.xml new file mode 100644 index 00000000000..0cc2f2ef3c3 --- /dev/null +++ b/addons/document_change/document_change_data.xml @@ -0,0 +1,151 @@ + + + + + + + Gosselies + + + Bat E + + + + Bat Z + + + + + MQ Section + + + + + Section X + + + + Section Y + + + + + Work Station 1BC + + + + Work Station 2BC + + + + Work Station 3BC + + + + + Family 1 + + + + Family 2 + + + + Family 3 + + + + Family 4 + + + + + VSM + + + + Takt Time + + + + + + FIE_05466_001 + FIE_05466_001.xls + + + + SFMEA_0581_001 + SFMEA_0581_001.xls + + + + SFMEA_0581_002 + SFMEA_0581_002.xls + + + + TaktTime_0549 + TaktTime_0549.xls + + + + + + Project Charter + + + VSM + + + Takt Time + + + FIE + + + SFMEA + + + + + Concept + 1 + + + + Development + 2 + + + + Validation + 3 + + + + + + NPI + + + + Minor_change + + + + + + Quality Alert + + + New Product + + + Red Risk + + + CI Card + + + From d5f77f8ec2781afef3a8d1d4466f05688068e1cb Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Mon, 25 Jan 2010 11:58:44 +0530 Subject: [PATCH 05/34] document_change:modfiy the reanme the field and modify the field of target_document bzr revid: sbh@tinyerp.com-20100125062844-y88fsqok6s80vumk --- addons/document_change/document_change.py | 6 +++--- addons/document_change/document_change_view.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/document_change/document_change.py b/addons/document_change/document_change.py index 990380ea296..1711a7153c3 100644 --- a/addons/document_change/document_change.py +++ b/addons/document_change/document_change.py @@ -36,7 +36,7 @@ class document_change_type(osv.osv): _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','Directory'), + 'directory_id' :fields.many2one('document.directory','Pending Directory'), 'template_document_id':fields.many2one('ir.attachment','Document') } document_change_type() @@ -213,8 +213,8 @@ class document_file(osv.osv): _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'), - 'target_directory_id': fields.many2one('document.directory', 'Target Document'), - 'target_document_id':fields.binary('Target'), + 'target_document_id': fields.many2one('ir.attachment', 'Target Document'), + 'target':fields.binary('Target'), 'process_phase_id' :fields.many2one('document.change.process.phase','Process Phase'), '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'), diff --git a/addons/document_change/document_change_view.xml b/addons/document_change/document_change_view.xml index 8d1c825a8c8..1d1811ee01a 100644 --- a/addons/document_change/document_change_view.xml +++ b/addons/document_change/document_change_view.xml @@ -248,8 +248,8 @@