diff --git a/addons/account/account.py b/addons/account/account.py
index 61319f7f973..e30912aa187 100644
--- a/addons/account/account.py
+++ b/addons/account/account.py
@@ -1567,8 +1567,42 @@ class account_tax(osv.osv):
cur_price_unit+=amount2
return res
- def compute(self, cr, uid, taxes, price_unit, quantity, address_id=None, product=None, partner=None):
+ def compute_all(self, cr, uid, taxes, price_unit, quantity, address_id=None, product=None, partner=None):
+ """
+ RETURN: {
+ 'total': 0.0, # Total without taxes
+ 'total_included: 0.0, # Total with taxes
+ 'taxes': [] # List of taxes, see compute for the format
+ }
+ """
+ precision = self.pool.get('decimal.precision').precision_get(cr, uid, 'Account')
+ totalin = totalex = round(price_unit * quantity, precision)
+ tin = []
+ tex = []
+ for tax in taxes:
+ if tax.price_include:
+ tin.append(tax)
+ else:
+ tex.append(tax)
+ tin = self.compute_inv(cr, uid, tin, price_unit, quantity, address_id=address_id, product=product, partner=partner)
+ for r in tin:
+ totalex -= r['amount']
+ tex = self._compute(cr, uid, tex, totalex/quantity, quantity, address_id=address_id, product=product, partner=partner)
+ for r in tex:
+ totalin += r['amount']
+ return {
+ 'total': totalex,
+ 'total_included': totalin,
+ 'taxes': tin + tex
+ }
+ def compute(self, cr, uid, taxes, price_unit, quantity, address_id=None, product=None, partner=None):
+ logger = netsvc.Logger()
+ logger.notifyChannel("warning", netsvc.LOG_WARNING,
+ "Deprecated, use compute_all(...)['taxes'] instead of compute(...) to manage prices with tax included")
+ return self._compute(cr, uid, taxes, price_unit, quantity, address_id, product, partner)
+
+ def _compute(self, cr, uid, taxes, price_unit, quantity, address_id=None, product=None, partner=None):
"""
Compute tax values for given PRICE_UNIT, QUANTITY and a buyer/seller ADDRESS_ID.
@@ -1585,7 +1619,6 @@ class account_tax(osv.osv):
else:
r['amount'] = round(r['amount'] * quantity, self.pool.get('decimal.precision').precision_get(cr, uid, 'Account'))
total += r['amount']
-
return res
def _unit_compute_inv(self, cr, uid, taxes, price_unit, address_id=None, product=None, partner=None):
diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml
index 77369bdca25..aa4ccfc74ff 100644
--- a/addons/account/account_invoice_view.xml
+++ b/addons/account/account_invoice_view.xml
@@ -63,6 +63,7 @@
+
@@ -146,7 +147,7 @@
-
+
@@ -345,9 +346,9 @@
-
-
-
+
+
+
@@ -356,16 +357,16 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
-
+
+
diff --git a/addons/account/account_report.xml b/addons/account/account_report.xml
index 656d9d2f595..6480178d1ae 100644
--- a/addons/account/account_report.xml
+++ b/addons/account/account_report.xml
@@ -23,7 +23,7 @@
-
+
-
+
-
+
-
+
+ string="Budget"/>
diff --git a/addons/account_budget/crossovered_budget_view.xml b/addons/account_budget/crossovered_budget_view.xml
index b48ccc55daa..e7a0faf069d 100644
--- a/addons/account_budget/crossovered_budget_view.xml
+++ b/addons/account_budget/crossovered_budget_view.xml
@@ -185,8 +185,8 @@
-
-
+
+
diff --git a/addons/account_coda/i18n/el.po b/addons/account_coda/i18n/el.po
new file mode 100644
index 00000000000..9ed3156d138
--- /dev/null
+++ b/addons/account_coda/i18n/el.po
@@ -0,0 +1,168 @@
+# Greek 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-24 13:11+0000\n"
+"PO-Revision-Date: 2010-06-09 02:57+0000\n"
+"Last-Translator: Panayiotis Konstantinidis \n"
+"Language-Team: Greek \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. module: account_coda
+#: field:account.coda,journal_id:0
+#: wizard_field:account.coda_import,init,journal_id:0
+msgid "Bank Journal"
+msgstr ""
+
+#. module: account_coda
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+"Το όνομα του Αντικειμένου πρέπει να ξεκινά με x_ και δεν πρέπει να περιέχει "
+"ειδικούς χαρακτήρες!"
+
+#. module: account_coda
+#: wizard_field:account.coda_import,extraction,note:0
+msgid "Log"
+msgstr "Καταγραφή"
+
+#. module: account_coda
+#: wizard_button:account.coda_import,extraction,open:0
+msgid "_Open Statement"
+msgstr ""
+
+#. module: account_coda
+#: model:ir.module.module,shortdesc:account_coda.module_meta_information
+msgid "Account CODA"
+msgstr ""
+
+#. module: account_coda
+#: field:account.coda,name:0
+msgid "Coda file"
+msgstr ""
+
+#. module: account_coda
+#: wizard_view:account.coda_import,init:0
+msgid "Clic on 'New' to select your file :"
+msgstr "Πατήστε \"Νέο\" για να επιλέξετε το αρχείο σας"
+
+#. module: account_coda
+#: model:ir.actions.wizard,name:account_coda.wizard_account_coda_import
+msgid "Import Coda File"
+msgstr ""
+
+#. module: account_coda
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr "Λανθασμένο όνομα μοντέλου στον ορισμό ενέργειας"
+
+#. module: account_coda
+#: field:account.coda,note:0
+msgid "Import log"
+msgstr "Εισαγωγή ιστορικού καταγραφής"
+
+#. module: account_coda
+#: wizard_field:account.coda_import,init,def_receivable:0
+msgid "Default receivable Account"
+msgstr "Προεπιλεγμένος λογαριασμός είσπραξης"
+
+#. module: account_coda
+#: model:ir.module.module,description:account_coda.module_meta_information
+msgid ""
+"Module provides functionality to import\n"
+" bank statements from .csv file.\n"
+" Import coda file wizard is used to import bank statements."
+msgstr ""
+
+#. module: account_coda
+#: wizard_button:account.coda_import,extraction,end:0
+msgid "_Close"
+msgstr "_Κλείσιμο"
+
+#. module: account_coda
+#: field:account.coda,statement_id:0
+msgid "Generated Bank Statement"
+msgstr "Δημιουργημένος τραπεζικός λογαριασμός"
+
+#. module: account_coda
+#: view:account.coda:0
+#: model:ir.actions.act_window,name:account_coda.act_account_payment_account_bank_statement
+#: model:ir.actions.act_window,name:account_coda.action_account_coda
+msgid "Coda import"
+msgstr ""
+
+#. module: account_coda
+#: field:account.coda,user_id:0
+msgid "User"
+msgstr "Χρήστης"
+
+#. module: account_coda
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "Λανθασμένο XML για αρχιτεκτονική όψης!"
+
+#. module: account_coda
+#: model:ir.model,name:account_coda.model_account_coda
+msgid "coda for an Account"
+msgstr ""
+
+#. module: account_coda
+#: wizard_field:account.coda_import,init,def_payable:0
+msgid "Default Payable Account"
+msgstr "Προεπιλεγμένος λογαριασμός πληρωμής"
+
+#. module: account_coda
+#: model:ir.ui.menu,name:account_coda.menu_account_coda
+msgid "Coda Statements"
+msgstr ""
+
+#. module: account_coda
+#: model:ir.ui.menu,name:account_coda.menu_account_coda_wizard
+msgid "Import Coda Statements"
+msgstr ""
+
+#. module: account_coda
+#: wizard_button:account.coda_import,init,extraction:0
+msgid "_Ok"
+msgstr "_Εντάξει"
+
+#. module: account_coda
+#: wizard_view:account.coda_import,extraction:0
+#: wizard_view:account.coda_import,init:0
+msgid "Import Coda Statement"
+msgstr ""
+
+#. module: account_coda
+#: field:account.bank.statement,coda_id:0
+msgid "Coda"
+msgstr ""
+
+#. module: account_coda
+#: wizard_view:account.coda_import,extraction:0
+msgid "Results :"
+msgstr "Αποτελέσματα :"
+
+#. module: account_coda
+#: wizard_field:account.coda_import,init,coda:0
+msgid "Coda File"
+msgstr ""
+
+#. module: account_coda
+#: field:account.coda,date:0
+msgid "Import Date"
+msgstr "Εισαγωγή ημερομηνίας"
+
+#. module: account_coda
+#: wizard_view:account.coda_import,init:0
+msgid "Select your bank journal :"
+msgstr ""
diff --git a/addons/account_coda/i18n/et.po b/addons/account_coda/i18n/et.po
new file mode 100644
index 00000000000..ca0c9a210fb
--- /dev/null
+++ b/addons/account_coda/i18n/et.po
@@ -0,0 +1,167 @@
+# Estonian 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-24 13:11+0000\n"
+"PO-Revision-Date: 2010-06-08 17:34+0000\n"
+"Last-Translator: lyyser \n"
+"Language-Team: Estonian \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. module: account_coda
+#: field:account.coda,journal_id:0
+#: wizard_field:account.coda_import,init,journal_id:0
+msgid "Bank Journal"
+msgstr ""
+
+#. module: account_coda
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+"Objekti nimi peab algama x_'ga ja ei tohi sisaldada ühtegi erisümbolit !"
+
+#. module: account_coda
+#: wizard_field:account.coda_import,extraction,note:0
+msgid "Log"
+msgstr "Logi"
+
+#. module: account_coda
+#: wizard_button:account.coda_import,extraction,open:0
+msgid "_Open Statement"
+msgstr ""
+
+#. module: account_coda
+#: model:ir.module.module,shortdesc:account_coda.module_meta_information
+msgid "Account CODA"
+msgstr ""
+
+#. module: account_coda
+#: field:account.coda,name:0
+msgid "Coda file"
+msgstr ""
+
+#. module: account_coda
+#: wizard_view:account.coda_import,init:0
+msgid "Clic on 'New' to select your file :"
+msgstr ""
+
+#. module: account_coda
+#: model:ir.actions.wizard,name:account_coda.wizard_account_coda_import
+msgid "Import Coda File"
+msgstr ""
+
+#. module: account_coda
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr "Vigane mudeli nimi toimingu definitsioonis."
+
+#. module: account_coda
+#: field:account.coda,note:0
+msgid "Import log"
+msgstr "Impordi logi"
+
+#. module: account_coda
+#: wizard_field:account.coda_import,init,def_receivable:0
+msgid "Default receivable Account"
+msgstr ""
+
+#. module: account_coda
+#: model:ir.module.module,description:account_coda.module_meta_information
+msgid ""
+"Module provides functionality to import\n"
+" bank statements from .csv file.\n"
+" Import coda file wizard is used to import bank statements."
+msgstr ""
+
+#. module: account_coda
+#: wizard_button:account.coda_import,extraction,end:0
+msgid "_Close"
+msgstr "_Sulge"
+
+#. module: account_coda
+#: field:account.coda,statement_id:0
+msgid "Generated Bank Statement"
+msgstr ""
+
+#. module: account_coda
+#: view:account.coda:0
+#: model:ir.actions.act_window,name:account_coda.act_account_payment_account_bank_statement
+#: model:ir.actions.act_window,name:account_coda.action_account_coda
+msgid "Coda import"
+msgstr ""
+
+#. module: account_coda
+#: field:account.coda,user_id:0
+msgid "User"
+msgstr "Kasutaja"
+
+#. module: account_coda
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "Vigane XML vaate arhitektuurile!"
+
+#. module: account_coda
+#: model:ir.model,name:account_coda.model_account_coda
+msgid "coda for an Account"
+msgstr ""
+
+#. module: account_coda
+#: wizard_field:account.coda_import,init,def_payable:0
+msgid "Default Payable Account"
+msgstr "Vaikimisi on tasulised konto"
+
+#. module: account_coda
+#: model:ir.ui.menu,name:account_coda.menu_account_coda
+msgid "Coda Statements"
+msgstr ""
+
+#. module: account_coda
+#: model:ir.ui.menu,name:account_coda.menu_account_coda_wizard
+msgid "Import Coda Statements"
+msgstr ""
+
+#. module: account_coda
+#: wizard_button:account.coda_import,init,extraction:0
+msgid "_Ok"
+msgstr "_Ok"
+
+#. module: account_coda
+#: wizard_view:account.coda_import,extraction:0
+#: wizard_view:account.coda_import,init:0
+msgid "Import Coda Statement"
+msgstr ""
+
+#. module: account_coda
+#: field:account.bank.statement,coda_id:0
+msgid "Coda"
+msgstr ""
+
+#. module: account_coda
+#: wizard_view:account.coda_import,extraction:0
+msgid "Results :"
+msgstr "Tulemused :"
+
+#. module: account_coda
+#: wizard_field:account.coda_import,init,coda:0
+msgid "Coda File"
+msgstr ""
+
+#. module: account_coda
+#: field:account.coda,date:0
+msgid "Import Date"
+msgstr "Importimise aeg"
+
+#. module: account_coda
+#: wizard_view:account.coda_import,init:0
+msgid "Select your bank journal :"
+msgstr ""
diff --git a/addons/account_followup/i18n/hr.po b/addons/account_followup/i18n/hr.po
index 45fce2cbd2b..32aaa2a926d 100644
--- a/addons/account_followup/i18n/hr.po
+++ b/addons/account_followup/i18n/hr.po
@@ -7,24 +7,24 @@ 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-09-08 12:18+0000\n"
-"Last-Translator: Ivica Perić \n"
+"PO-Revision-Date: 2010-06-07 04:28+0000\n"
+"Last-Translator: nafterburner \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-04-17 04:05+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_followup
#: rml:account_followup.followup.print:0
msgid "Date :"
-msgstr ""
+msgstr "Datum :"
#. module: account_followup
#: wizard_field:account_followup.followup.print.all,next,partner_ids:0
msgid "Partners"
-msgstr ""
+msgstr "Partneri"
#. module: account_followup
#: rml:account_followup.followup.print:0
@@ -35,17 +35,17 @@ msgstr ""
#: model:ir.actions.act_window,name:account_followup.act_account_partner_account_move_payable_all
#: model:ir.ui.menu,name:account_followup.menu_account_move_open_unreconcile_payable
msgid "All payable entries"
-msgstr ""
+msgstr "Sve stavke potraživanja"
#. module: account_followup
#: constraint:ir.actions.act_window:0
msgid "Invalid model name in the action definition."
-msgstr ""
+msgstr "Nepravilno ime modela u definiciji radnje."
#. module: account_followup
#: field:account_followup.followup.line,description:0
msgid "Printed Message"
-msgstr ""
+msgstr "Ispisana Poruka"
#. module: account_followup
#: rml:account_followup.followup.print:0
@@ -60,18 +60,18 @@ msgstr ""
#. module: account_followup
#: view:account.move.line:0
msgid "Total debit"
-msgstr ""
+msgstr "Ukupni dug"
#. module: account_followup
#: view:account_followup.followup.line:0
#: wizard_view:account_followup.followup.print.all,next:0
msgid "%(user_signature)s: User name"
-msgstr ""
+msgstr "%(user_signature)s: Korisničko ime"
#. module: account_followup
#: wizard_view:account_followup.followup.print.all,next:0
msgid "Select partners"
-msgstr ""
+msgstr "Odaberi partnere"
#. module: account_followup
#: view:account_followup.followup:0
@@ -82,17 +82,17 @@ msgstr ""
#. module: account_followup
#: field:account_followup.stat,debit:0
msgid "Debit"
-msgstr ""
+msgstr "Dug"
#. module: account_followup
#: wizard_view:account_followup.followup.print.all,next:0
msgid "Email Settings"
-msgstr ""
+msgstr "Email Postavke"
#. module: account_followup
#: field:account_followup.stat,account_type:0
msgid "Account Type"
-msgstr ""
+msgstr "Tip Računa"
#. module: account_followup
#: rml:account_followup.followup.print:0
@@ -108,7 +108,7 @@ msgstr ""
#: view:account_followup.followup.line:0
#: wizard_view:account_followup.followup.print.all,next:0
msgid "%(date)s: Current Date"
-msgstr ""
+msgstr "%(date)s: Trenutni Datum"
#. module: account_followup
#: field:account.move.line,followup_date:0
@@ -131,7 +131,7 @@ msgstr ""
#: field:account_followup.followup,description:0
#: rml:account_followup.followup.print:0
msgid "Description"
-msgstr ""
+msgstr "Opis"
#. module: account_followup
#: rml:account_followup.followup.print:0
@@ -141,27 +141,27 @@ msgstr ""
#. module: account_followup
#: rml:account_followup.followup.print:0
msgid "VAT:"
-msgstr ""
+msgstr "VAT:"
#. module: account_followup
#: field:account_followup.followup,company_id:0
msgid "Company"
-msgstr ""
+msgstr "Tvrtka"
#. module: account_followup
#: rml:account_followup.followup.print:0
msgid "Invoice Date"
-msgstr ""
+msgstr "Datum Računa"
#. module: account_followup
#: wizard_field:account_followup.followup.print.all,next,email_subject:0
msgid "Email Subject"
-msgstr ""
+msgstr "Predmet email-a"
#. module: account_followup
#: rml:account_followup.followup.print:0
msgid "Paid"
-msgstr ""
+msgstr "Plaćeno"
#. module: account_followup
#: wizard_view:account_followup.followup.print.all,next:0
@@ -186,17 +186,17 @@ msgstr ""
#. module: account_followup
#: wizard_view:account_followup.followup.print.all,next:0
msgid "Partner Selection"
-msgstr ""
+msgstr "Odabir Partnera"
#. module: account_followup
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
-msgstr ""
+msgstr "Nepravilan XML format za Arhitekturu Prikaza!"
#. module: account_followup
#: field:account_followup.followup.line,start:0
msgid "Type of Term"
-msgstr ""
+msgstr "Tip Uvjeta"
#. module: account_followup
#: wizard_view:account_followup.followup.print.all,init:0
@@ -206,12 +206,12 @@ msgstr ""
#. module: account_followup
#: wizard_view:account_followup.followup.print.all,next:0
msgid "Select partners to remind"
-msgstr ""
+msgstr "Odaberite partnere za opomenu"
#. module: account_followup
#: rml:account_followup.followup.print:0
msgid "Li."
-msgstr ""
+msgstr "Li."
#. module: account_followup
#: model:account_followup.followup.line,description:account_followup.demo_followup_line1
@@ -240,23 +240,23 @@ msgstr ""
#. module: account_followup
#: wizard_button:account_followup.followup.print.all,summary,end:0
msgid "Ok"
-msgstr ""
+msgstr "Ok"
#. module: account_followup
#: field:account_followup.followup,name:0
#: field:account_followup.followup.line,name:0
msgid "Name"
-msgstr ""
+msgstr "Ime"
#. module: account_followup
#: field:account_followup.stat,date_move:0
msgid "First move"
-msgstr ""
+msgstr "Prvi potez"
#. module: account_followup
#: selection:account_followup.followup.line,start:0
msgid "End of Month"
-msgstr ""
+msgstr "Kraj Mjeseca"
#. module: account_followup
#: view:account_followup.followup.line:0
@@ -273,7 +273,7 @@ msgstr ""
#. module: account_followup
#: view:account_followup.followup:0
msgid "Lines"
-msgstr ""
+msgstr "Linije"
#. module: account_followup
#: model:ir.actions.wizard,name:account_followup.action_account_followup_all_wizard
diff --git a/addons/account_invoice_layout/i18n/el.po b/addons/account_invoice_layout/i18n/el.po
index 71b80936ffb..1b106512a00 100644
--- a/addons/account_invoice_layout/i18n/el.po
+++ b/addons/account_invoice_layout/i18n/el.po
@@ -8,13 +8,13 @@ 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: 2009-09-08 13:37+0000\n"
-"Last-Translator: Makis Nicolaou \n"
+"PO-Revision-Date: 2010-06-09 03:16+0000\n"
+"Last-Translator: Panayiotis Konstantinidis \n"
"Language-Team: Greek \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:12+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_invoice_layout
@@ -38,7 +38,7 @@ msgstr ""
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
msgid "Cancelled Invoice"
-msgstr ""
+msgstr "Ακυρωμένο τιμολόγιο"
#. module: account_invoice_layout
#: selection:account.invoice.line,state:0
@@ -59,7 +59,7 @@ msgstr "Εκπτ. (%)"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
msgid "(Incl. taxes):"
-msgstr ""
+msgstr "(με φόρους)"
#. module: account_invoice_layout
#: selection:account.invoice.line,state:0
@@ -87,7 +87,7 @@ msgstr "Τιμή Μονάδας"
#. module: account_invoice_layout
#: constraint:ir.actions.act_window:0
msgid "Invalid model name in the action definition."
-msgstr ""
+msgstr "Λανθασμένο όνομα μοντέλου στον ορισμό ενέργειας"
#. module: account_invoice_layout
#: model:ir.model,name:account_invoice_layout.model_notify_message
@@ -122,7 +122,7 @@ msgstr "Σχετ. Πελάτης:"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
msgid ")"
-msgstr ""
+msgstr ")"
#. module: account_invoice_layout
#: field:account.invoice.line,state:0
@@ -137,7 +137,7 @@ msgstr "Τιμή"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
msgid "/ ("
-msgstr ""
+msgstr "/ ("
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
@@ -192,7 +192,7 @@ msgstr "Page Break"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
msgid "Document:"
-msgstr ""
+msgstr "Έγγραφο:"
#. module: account_invoice_layout
#: wizard_view:wizard.notify_message,init:0
@@ -217,7 +217,7 @@ msgstr "Τιμολόγια με Διάταξη"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
msgid "Description / Taxes"
-msgstr ""
+msgstr "Περιγραφή / Φόροι"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
@@ -227,7 +227,7 @@ msgstr "Ποσό"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
msgid "Description/Taxes"
-msgstr ""
+msgstr "Περιγραφή/Φόροι"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
@@ -267,7 +267,7 @@ msgstr "Τιμολόγιο Προμηθευτή"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
msgid "Note :"
-msgstr ""
+msgstr "Σημείωση :"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
@@ -282,7 +282,7 @@ msgstr "account_invoice_layout"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
msgid "Total (Excl. taxes):"
-msgstr ""
+msgstr "Σύνολο (Χωρίς φόρους)"
#. module: account_invoice_layout
#: rml:account.invoice.layout:0
diff --git a/addons/account_payment/i18n/zh_CN.po b/addons/account_payment/i18n/zh_CN.po
index 2dbc570776c..28a412cb5c6 100644
--- a/addons/account_payment/i18n/zh_CN.po
+++ b/addons/account_payment/i18n/zh_CN.po
@@ -7,13 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 5.0.6\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
-"PO-Revision-Date: 2010-03-20 07:13+0000\n"
-"Last-Translator: Black Jack \n"
+"PO-Revision-Date: 2010-06-04 13:32+0000\n"
+"Last-Translator: Eleanor Chen \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-04-17 04:12+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_payment
@@ -251,12 +251,12 @@ msgstr "无效XML视图结构!"
#: wizard_button:populate_payment,search,end:0
#: wizard_button:populate_statement,init,end:0
msgid "_Cancel"
-msgstr "取消"
+msgstr "取消(_C)"
#. module: account_payment
#: field:payment.line,create_date:0
msgid "Created"
-msgstr "创建"
+msgstr "已创建"
#. module: account_payment
#: view:payment.line:0
diff --git a/addons/account_report/account_report.xml b/addons/account_report/account_report.xml
index 4576e421c2e..48273cdd3b3 100644
--- a/addons/account_report/account_report.xml
+++ b/addons/account_report/account_report.xml
@@ -11,6 +11,6 @@
menu="False"
model="account.report.report"
name="print.indicator.pdf"
- string="Print Indicators in PDF"/>
+ string="Indicators in PDF"/>
diff --git a/addons/account_tax_include/i18n/ru.po b/addons/account_tax_include/i18n/ru.po
index e61c38be4a1..ea07038c8ce 100644
--- a/addons/account_tax_include/i18n/ru.po
+++ b/addons/account_tax_include/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-09-08 13:39+0000\n"
-"Last-Translator: Sergei Kostigoff \n"
+"PO-Revision-Date: 2010-06-06 06:51+0000\n"
+"Last-Translator: mr.The \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-04-17 04:05+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_tax_include
@@ -44,7 +44,7 @@ msgstr "До налогов"
#. module: account_tax_include
#: view:account.tax:0
msgid "Compute Code for Taxes included prices"
-msgstr ""
+msgstr "Выполнить код для цен с налогами"
#. module: account_tax_include
#: field:account.invoice.line,price_subtotal_incl:0
diff --git a/addons/account_voucher/voucher_report.xml b/addons/account_voucher/voucher_report.xml
index 56353628bd1..c0dfed1c683 100644
--- a/addons/account_voucher/voucher_report.xml
+++ b/addons/account_voucher/voucher_report.xml
@@ -2,16 +2,16 @@
-
+
-
+
account.voucher.select
account.voucher
@@ -79,10 +79,10 @@
-
-
-
-
+
+
+
+
@@ -92,14 +92,14 @@
-
-
-
-
-
+
+
+
+
+
-
+
@@ -107,7 +107,7 @@
-
+
Voucher Entries
@@ -245,7 +245,7 @@
-
+
account.journal.form.inherit
account.journal
@@ -257,7 +257,7 @@
-
+
-
+
diff --git a/addons/account_voucher_payment/i18n/ca.po b/addons/account_voucher_payment/i18n/ca.po
index daf15f0ea67..b06ebff8a16 100644
--- a/addons/account_voucher_payment/i18n/ca.po
+++ b/addons/account_voucher_payment/i18n/ca.po
@@ -1,20 +1,20 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# * account_voucher_payment
+# Catalan 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: OpenERP Server 5.0.0\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2009-05-13 20:11+0000\n"
-"PO-Revision-Date: 2010-01-26 11:00+0000\n"
-"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
-"\n"
-"Language-Team: \n"
+"PO-Revision-Date: 2010-06-04 09:33+0000\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: Catalan \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-21 03:47+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_voucher_payment
diff --git a/addons/account_voucher_payment/i18n/es.po b/addons/account_voucher_payment/i18n/es.po
index a3df62eaec2..80c07e08abb 100644
--- a/addons/account_voucher_payment/i18n/es.po
+++ b/addons/account_voucher_payment/i18n/es.po
@@ -1,19 +1,20 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# * account_voucher_payment
+# Spanish 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: OpenERP Server 5.0.0\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2009-05-13 20:11+0000\n"
-"PO-Revision-Date: 2010-02-19 05:54+0000\n"
-"Last-Translator: Luis Alejandro Rangel Sánchez \n"
-"Language-Team: \n"
+"PO-Revision-Date: 2010-06-04 09:33+0000\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: Spanish \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-05-21 03:47+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_voucher_payment
diff --git a/addons/account_voucher_payment/i18n/et.po b/addons/account_voucher_payment/i18n/et.po
new file mode 100644
index 00000000000..591a7595d36
--- /dev/null
+++ b/addons/account_voucher_payment/i18n/et.po
@@ -0,0 +1,86 @@
+# Estonian 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-05-13 20:11+0000\n"
+"PO-Revision-Date: 2010-06-08 17:42+0000\n"
+"Last-Translator: lyyser \n"
+"Language-Team: Estonian \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. module: account_voucher_payment
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "Vigane XML vaate arhitektuurile!"
+
+#. module: account_voucher_payment
+#: wizard_view:account.voucher.unreconcile,init:0
+msgid "Unreconciliation transactions"
+msgstr "Mittesobivad tehingud"
+
+#. module: account_voucher_payment
+#: model:ir.module.module,description:account_voucher_payment.module_name_translation
+msgid ""
+"This module includes :\n"
+" * It reconcile the invoice (supplier, customer) while paying through \n"
+" Accounting Vouchers\n"
+" "
+msgstr ""
+
+#. module: account_voucher_payment
+#: wizard_view:account.voucher.unreconcile,init:0
+msgid ""
+"If you unreconciliate transactions, you must also verify all the actions "
+"that are linked to those transactions because they will not be disable"
+msgstr ""
+
+#. module: account_voucher_payment
+#: view:account.voucher:0
+#: field:account.voucher,voucher_line_ids:0
+msgid "Voucher Lines"
+msgstr "Tähiku read"
+
+#. module: account_voucher_payment
+#: model:ir.module.module,shortdesc:account_voucher_payment.module_name_translation
+msgid "Invoice Payment/Receipt by Vouchers."
+msgstr ""
+
+#. module: account_voucher_payment
+#: model:ir.actions.wizard,name:account_voucher_payment.wizard_unreconcile_voucher
+msgid "Unreconcile entries"
+msgstr "Kooskõlastamatta kirjed"
+
+#. module: account_voucher_payment
+#: field:account.move.line,voucher_invoice:0
+#: field:account.voucher.line,invoice_id:0
+msgid "Invoice"
+msgstr "Arve"
+
+#. module: account_voucher_payment
+#: wizard_button:account.voucher.unreconcile,init,end:0
+msgid "Cancel"
+msgstr "Katkesta"
+
+#. module: account_voucher_payment
+#: field:account.voucher,partner_id:0
+msgid "Partner"
+msgstr "Partner"
+
+#. module: account_voucher_payment
+#: wizard_button:account.voucher.unreconcile,init,unrec:0
+msgid "Unreconcile"
+msgstr ""
+
+#. module: account_voucher_payment
+#: wizard_view:account.voucher.unreconcile,init:0
+msgid "Unreconciliation"
+msgstr ""
diff --git a/addons/auction/i18n/pl.po b/addons/auction/i18n/pl.po
index c5219bd77b3..ca940cf469a 100644
--- a/addons/auction/i18n/pl.po
+++ b/addons/auction/i18n/pl.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 11:09+0000\n"
-"Last-Translator: Fabien (Open ERP) \n"
+"PO-Revision-Date: 2010-06-04 21:56+0000\n"
+"Last-Translator: ErnestŻyciński \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-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: auction
@@ -39,12 +39,12 @@ msgstr ""
#: field:report.seller.auction,seller:0
#: field:report.seller.auction2,seller:0
msgid "Seller"
-msgstr ""
+msgstr "Sprzedawca"
#. module: auction
#: constraint:ir.actions.act_window:0
msgid "Invalid model name in the action definition."
-msgstr ""
+msgstr "Nieprawidłowa nazwa modelu w definicji akcji."
#. module: auction
#: selection:auction.lots.send.aie,date_ask,numerotation:0
@@ -102,7 +102,7 @@ msgstr ""
#: field:report.buyer.auction,buyer:0
#: field:report.buyer.auction2,buyer:0
msgid "Buyer"
-msgstr ""
+msgstr "Kupujący"
#. module: auction
#: field:report.auction.view,nobjects:0
@@ -140,7 +140,7 @@ msgstr ""
#: wizard_field:auction.lots.make_invoice,init,amount:0
#: wizard_field:auction.lots.make_invoice_buyer,init,amount:0
msgid "Invoiced Amount"
-msgstr ""
+msgstr "Kwota zafakturowana"
#. module: auction
#: selection:auction.lot.category,aie_categ:0
@@ -165,7 +165,7 @@ msgstr ""
#. module: auction
#: field:auction.deposit.cost,amount:0
msgid "Amount"
-msgstr ""
+msgstr "Kwota"
#. module: auction
#: model:ir.actions.act_window,name:auction.action_deposit_border
@@ -191,12 +191,12 @@ msgstr ""
#. module: auction
#: field:auction.dates,account_analytic_id:0
msgid "Analytic Account"
-msgstr ""
+msgstr "Konto analityczne"
#. module: auction
#: selection:auction.lot.category,aie_categ:0
msgid "Unclassifieds"
-msgstr ""
+msgstr "Niesklasyfikowane"
#. module: auction
#: model:ir.ui.menu,name:auction.menu_auction_dates_next_by_auction
@@ -232,7 +232,7 @@ msgstr "Rodzaj obiektu"
#. module: auction
#: wizard_field:auction.lots.sms_send,init,text:0
msgid "SMS Message"
-msgstr ""
+msgstr "Wiadomość SMS"
#. module: auction
#: selection:auction.lot.category,aie_categ:0
@@ -243,7 +243,7 @@ msgstr "Sztuka nowoczesna"
#: view:auction.lots:0
#: view:report.unclassified.objects:0
msgid "Ref"
-msgstr ""
+msgstr "Odnośnik"
#. module: auction
#: field:report.auction.view,nseller:0
diff --git a/addons/auction/i18n/zh_CN.po b/addons/auction/i18n/zh_CN.po
index 58ebcb44914..eb36642e385 100644
--- a/addons/auction/i18n/zh_CN.po
+++ b/addons/auction/i18n/zh_CN.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: 2010-03-20 07:33+0000\n"
-"Last-Translator: Black Jack \n"
+"PO-Revision-Date: 2010-06-04 12:37+0000\n"
+"Last-Translator: Eleanor Chen \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-04-17 04:14+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: auction
@@ -415,7 +415,7 @@ msgstr "库存数量"
#: wizard_button:auction.lots.numerotate,search,end:0
#: wizard_button:auction.lots.numerotate_cont,init,end:0
msgid "Exit"
-msgstr "出口"
+msgstr "退出"
#. module: auction
#: field:report.buyer.auction2,net_revenue:0
diff --git a/addons/base_action_rule/base_action_rule.py b/addons/base_action_rule/base_action_rule.py
index a1213dd7542..85c4e9d4480 100644
--- a/addons/base_action_rule/base_action_rule.py
+++ b/addons/base_action_rule/base_action_rule.py
@@ -19,14 +19,16 @@
#
##############################################################################
-import time
-import mx.DateTime
-import re
-
-import tools
+from datetime import datetime
from osv import fields, osv, orm
from osv.orm import except_orm
+from osv.osv import osv_pool
from tools.translate import _
+import mx.DateTime
+import pooler
+import re
+import time
+import tools
class base_action_rule(osv.osv):
""" Base Action Rules """
@@ -132,6 +134,74 @@ the rule to mark CC(mail to any other person defined in actions)."),
_order = 'sequence'
+ def pre_action(self, cr, uid, ids, model, context=None):
+ # Searching for action rules
+ cr.execute("SELECT m.model, r.id from base_action_rule r left join ir_model m on (m.id = r.name)")
+ res = cr.fetchall()
+ # Check if any rule matching with current object
+ for obj_name, rule_id in res:
+ if not (model == obj_name):
+ continue
+ else:
+ obj = self.pool.get(obj_name)
+ self._action(cr, uid, [rule_id], obj.browse(cr, uid, ids, context=context))
+ return True
+
+ def new_create(self, old_create, model, context=None):
+ if not context:
+ context = {}
+ def make_call_old(cr, uid, vals, context=context):
+ new_id = old_create(cr, uid, vals, context=context)
+ if not context.get('action'):
+ self.pre_action(cr, uid, [new_id], model, context=context)
+ return new_id
+ return make_call_old
+
+ def new_write(self, old_write, model, context=None):
+ if not context:
+ context = {}
+ def make_call_old(cr, uid, ids, vals, context=context):
+ if isinstance(ids, (str, int, long)):
+ ids = [ids]
+ if not context.get('action'):
+ self.pre_action(cr, uid, ids, model, context=context)
+ return old_write(cr, uid, ids, vals, context=context)
+ return make_call_old
+
+ def create(self, cr, uid, vals, context=None):
+ if not context:
+ context = {}
+ res_id = super(base_action_rule, self).create(cr, uid, vals, context)
+ model_pool = self.pool.get('ir.model')
+ model = model_pool.browse(cr, uid, vals.get('name'), context=context).model
+ obj_pool = self.pool.get(model)
+ obj_pool.__setattr__('old_create', obj_pool.create)
+ obj_pool.__setattr__('old_write', obj_pool.write)
+ obj_pool.__setattr__('create', self.new_create(obj_pool.create, model, context=context))
+ obj_pool.__setattr__('write', self.new_write(obj_pool.write, model, context=context))
+ return res_id
+
+ def write(self, cr, uid, ids, vals, context=None):
+ res = super(base_action_rule, self).write(cr, uid, ids, vals, context)
+ model_pool = self.pool.get('ir.model')
+ if not context:
+ context = {}
+ for rule in self.browse(cr, uid, ids, context=context):
+ model = model_pool.browse(cr, uid, rule.name.id, context=context).model
+ obj_pool = self.pool.get(model)
+ obj_pool.__setattr__('old_create', obj_pool.create)
+ obj_pool.__setattr__('old_write', obj_pool.write)
+ obj_pool.__setattr__('create', self.new_create(obj_pool.create, model, context=context))
+ obj_pool.__setattr__('write', self.new_write(obj_pool.write, model, context=context))
+ return res
+
+ def _check(self, cr, uid, automatic=False, use_new_cursor=False, \
+ context=None):
+ rule_pool= self.pool.get('base.action.rule')
+ rule_ids = rule_pool.search(cr, uid, [], context=context)
+ return rule_pool.write(cr, uid, rule_ids, {}, context=context)
+
+
def format_body(self, body):
""" Foramat Action rule's body
@param self: The object pointer """
@@ -235,6 +305,7 @@ the rule to mark CC(mail to any other person defined in actions)."),
context.update({'active_id':obj.id, 'active_ids':[obj.id]})
self.pool.get('ir.actions.server').run(cr, uid, [action.server_action_id.id], context)
write = {}
+
if hasattr(obj, 'user_id') and action.act_user_id:
obj.user_id = action.act_user_id
write['user_id'] = action.act_user_id.id
@@ -279,12 +350,10 @@ the rule to mark CC(mail to any other person defined in actions)."),
@param ids: List of Basic Action Rule’s IDs,
@param objects: pass objects
@param context: A standard dictionary for contextual values """
-
+ context.update({'action': True})
if not scrit:
scrit = []
- cr.execute("select id from base_action_rule order by sequence")
- rule_ids = map(lambda x: x[0], cr.fetchall())
- for action in self.browse(cr, uid, rule_ids):
+ for action in self.browse(cr, uid, ids):
level = action.max_level
if not level:
break
@@ -333,6 +402,7 @@ the rule to mark CC(mail to any other person defined in actions)."),
self.do_action(cr, uid, action, model_obj, obj, context)
break
level -= 1
+ context.update({'action': False})
return True
def _check_mail(self, cr, uid, ids, context=None):
@@ -359,4 +429,27 @@ the rule to mark CC(mail to any other person defined in actions)."),
base_action_rule()
+
+class ir_cron(osv.osv):
+ _inherit = 'ir.cron'
+
+ def _poolJobs(self, db_name, check=False):
+ try:
+ db, pool = pooler.get_db_and_pool(db_name)
+ except:
+ return False
+ cr = db.cursor()
+ try:
+ next = datetime.now().strftime('%Y-%m-%d %H:00:00')
+ # Putting nextcall always less than current time in order to call it every time
+ cr.execute('UPDATE ir_cron set nextcall = \'%s\' where numbercall<>0 and active and model=\'base.action.rule\' ' % (next))
+ cr.commit()
+ res = super(ir_cron, self)._poolJobs(db_name, check=check)
+ finally:
+ cr.commit()
+ cr.close()
+
+ir_cron()
+
+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/base_calendar/base_calendar_view.xml b/addons/base_calendar/base_calendar_view.xml
index fc5140c8303..d0c1a57ba84 100644
--- a/addons/base_calendar/base_calendar_view.xml
+++ b/addons/base_calendar/base_calendar_view.xml
@@ -95,10 +95,10 @@
search
-
-
@@ -108,19 +108,19 @@
-
-
+
-
-
-
-
-
+
@@ -383,7 +383,7 @@
-
@@ -396,15 +396,15 @@
-
-
+
-
-
-
diff --git a/addons/base_contact/base_contact_view.xml b/addons/base_contact/base_contact_view.xml
index 8852ea19980..b4e7fa3e2ed 100644
--- a/addons/base_contact/base_contact_view.xml
+++ b/addons/base_contact/base_contact_view.xml
@@ -134,7 +134,8 @@
-
+
@@ -196,9 +196,9 @@
-
+
-
+
CRM - Inbound Phone Calls Tree
crm.phonecall
@@ -247,12 +247,12 @@
search
-
-
-
-
-
-
-
-
-
+
diff --git a/addons/crm/crm_report_view.xml b/addons/crm/crm_report_view.xml
index 2992959bdd0..ee5a6ac35f4 100644
--- a/addons/crm/crm_report_view.xml
+++ b/addons/crm/crm_report_view.xml
@@ -70,10 +70,10 @@
-
-
@@ -162,10 +162,10 @@
-
-
@@ -237,10 +237,10 @@
-
-
@@ -330,10 +330,10 @@
-
-
diff --git a/addons/crm/i18n/et.po b/addons/crm/i18n/et.po
index 014dcf6987e..5e399b2e416 100644
--- a/addons/crm/i18n/et.po
+++ b/addons/crm/i18n/et.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: 2010-01-05 05:59+0000\n"
-"PO-Revision-Date: 2009-11-09 16:56+0000\n"
-"Last-Translator: Fabien (Open ERP) \n"
+"PO-Revision-Date: 2010-06-08 18:36+0000\n"
+"Last-Translator: lyyser \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-04-17 04:01+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: crm
#: field:crm.email.add.cc,name:0
msgid "Send to"
-msgstr ""
+msgstr "Saada"
#. module: crm
#: help:crm.meeting,exdate:0
@@ -37,17 +37,17 @@ msgstr ""
#. module: crm
#: view:crm.meeting:0
msgid "Title"
-msgstr ""
+msgstr "Pealkiri"
#. module: crm
#: model:ir.model,name:crm.model_report_crm_case_section_categ2
msgid "Cases by section and category2"
-msgstr ""
+msgstr "Juhtumid jaotise ja staatusejärgi2"
#. module: crm
#: wizard_field:crm.lead.partner_create,init,close:0
msgid "Close Lead"
-msgstr ""
+msgstr "Sulge juhtimine"
#. module: crm
#: view:crm.job:0
@@ -55,12 +55,12 @@ msgstr ""
#: view:crm.opportunity:0
#: view:crm.phonecall:0
msgid " 7 Days "
-msgstr ""
+msgstr " 7 päeva "
#. module: crm
#: help:crm.menu.config_wizard,helpdesk:0
msgid "Manages an Helpdesk service."
-msgstr ""
+msgstr "Haldab helpdesk teenust."
#. module: crm
#: view:crm.job:0
@@ -80,7 +80,7 @@ msgstr "Planeeritud maksumus"
#. module: crm
#: wizard_field:crm.job.partner_create,init,close:0
msgid "Close job request"
-msgstr ""
+msgstr "Sulge töö taotlus"
#. module: crm
#: field:crm.case.stage,name:0
@@ -109,12 +109,12 @@ msgstr ""
#. module: crm
#: model:ir.ui.menu,name:crm.menu_hr
msgid "Human Resources"
-msgstr ""
+msgstr "Inimressursid"
#. module: crm
#: model:ir.ui.menu,name:crm.menu_action_report_crm_case_oppor_categ_categ2
msgid "Cases by Opportunities, Category and Type"
-msgstr ""
+msgstr "Juhtude võimalused, kategooria ja tüüp"
#. module: crm
#: help:crm.menu.config_wizard,claims:0
@@ -122,22 +122,24 @@ msgid ""
"Manages the supplier and customers claims, including your corrective or "
"preventive actions."
msgstr ""
+"Haldab tarnijate ja klientide nõudeid, sealjuures sinu korrigeerivaid ja "
+"vältivaid tegevusi."
#. module: crm
#: view:crm.fundraising:0
msgid "Amount"
-msgstr ""
+msgstr "Kogus"
#. module: crm
#: model:process.transition,note:crm.process_transition_opportunitymeeting0
msgid "Normal or phone meeting for opportunity"
-msgstr ""
+msgstr "Normaalne või telefonikohtumine võimalusega"
#. module: crm
#: model:crm.case.stage,name:crm.stage_claim2
#: model:crm.case.stage,name:crm.stage_meet1
msgid "Fixed"
-msgstr ""
+msgstr "Fikseeritud"
#. module: crm
#: code:addons/crm/crm.py:0
@@ -152,34 +154,34 @@ msgstr "Ettevaatust !"
#: code:addons/crm/wizard/wizard_crm_new_send_email.py:0
#, python-format
msgid "Please specify user's email address !"
-msgstr ""
+msgstr "Palun täpsustage kasutaja e-posti aadress!"
#. module: crm
#: model:crm.case.categ,name:crm.categ_oppor5
msgid "Campaign"
-msgstr ""
+msgstr "Kampaania"
#. module: crm
#: view:crm.opportunity:0
msgid "Search Opportunities"
-msgstr ""
+msgstr "Otsingu võimalused"
#. module: crm
#: model:ir.ui.menu,name:crm.menu_crm_case_section_stage_tree
#: view:report.crm.case.section.stage:0
msgid "Cases by Section and Stage"
-msgstr ""
+msgstr "Juhtumid sektsiooni ja olekujärgi"
#. module: crm
#: wizard_field:crm.job.meeting_set,init,duration:0
#: wizard_field:crm.phonecall.meeting_set,init,duration:0
msgid "Duration (Hours)"
-msgstr ""
+msgstr "Kestvus (Tundides)"
#. module: crm
#: selection:crm.meeting,transparent:0
msgid "TRANSPARENT"
-msgstr ""
+msgstr "LÄBIPAISTEV"
#. module: crm
#: help:crm.case.rule,server_action_id:0
@@ -227,7 +229,7 @@ msgstr "Juhtumi Jaotis"
#. module: crm
#: view:crm.job:0
msgid "Proposed Salary"
-msgstr ""
+msgstr "Pakutav Palk"
#. module: crm
#: help:crm.case.section,sequence:0
@@ -240,12 +242,12 @@ msgstr ""
#: model:crm.case.categ,name:crm.categ_meet3
#, python-format
msgid "Phone Call"
-msgstr ""
+msgstr "Telefonikõne"
#. module: crm
#: model:ir.model,name:crm.model_report_crm_case_section_stage
msgid "Cases by section and stage"
-msgstr ""
+msgstr "Juhtumid sektsiooni ja olekujärgi"
#. module: crm
#: field:crm.case.rule,act_mail_to_email:0
@@ -270,7 +272,7 @@ msgstr "Spetsiaalsed võtmesõnad sisus kasutamiseks."
#: view:crm.lead:0
#: view:crm.opportunity:0
msgid "Send New Email"
-msgstr ""
+msgstr "Saada uus e-kiri"
#. module: crm
#: view:crm.case.history:0
@@ -291,12 +293,12 @@ msgstr "Jaotised"
#. module: crm
#: help:crm.menu.config_wizard,opportunity:0
msgid "Tracks identified business opportunities for your sales pipeline."
-msgstr ""
+msgstr "Jälgib tuvastatud ärivõimalusi sinu müükide konveierile."
#. module: crm
#: view:crm.meeting:0
msgid "Exception Dates"
-msgstr ""
+msgstr "Väljajäetavad kuupäevad"
#. module: crm
#: selection:crm.case.rule,trg_date_type:0
@@ -306,12 +308,12 @@ msgstr "Viimase Toimingu Kuupäev"
#. module: crm
#: view:crm.job:0
msgid "Appreciation"
-msgstr ""
+msgstr "Hindamine"
#. module: crm
#: model:crm.case.stage,name:crm.stage_job3
msgid "Second Interview"
-msgstr ""
+msgstr "Teine Intervjuu"
#. module: crm
#: model:ir.actions.wizard,name:crm.wizard_crm_cal_subscribe
@@ -328,7 +330,7 @@ msgstr "Kategooriad"
#: code:addons/crm/wizard/wizard_crm_new_send_email.py:0
#, python-format
msgid "Warning!"
-msgstr ""
+msgstr "Hoiatus!"
#. module: crm
#: view:crm.case:0
@@ -354,12 +356,12 @@ msgstr ""
#: view:crm.fundraising:0
#: view:crm.opportunity:0
msgid "Description Information"
-msgstr ""
+msgstr "Kirjeldus info"
#. module: crm
#: view:crm.lead:0
msgid "Contact Name"
-msgstr ""
+msgstr "Kontakti nimi"
#. module: crm
#: selection:crm.lead.opportunity_set,create_partner,action:0
@@ -380,12 +382,12 @@ msgstr "Viivituse tüüp"
#: view:crm.opportunity:0
#: view:crm.phonecall:0
msgid "Contact"
-msgstr ""
+msgstr "Kontakt"
#. module: crm
#: view:crm.job:0
msgid "Next Interview"
-msgstr ""
+msgstr "Järgmine Intervjuu"
#. module: crm
#: field:crm.case.rule,regex_history:0
@@ -400,7 +402,7 @@ msgstr ""
#. module: crm
#: model:process.transition,name:crm.process_transition_opportunitymeeting0
msgid "Opportunity Meeting"
-msgstr ""
+msgstr "Võimalusega kohtumine"
#. module: crm
#: help:crm.case,canal_id:0
@@ -419,12 +421,12 @@ msgstr ""
#: field:crm.menu.config_wizard,opportunity:0
#: model:ir.actions.report.xml,name:crm.crm_business_opportunities_report
msgid "Business Opportunities"
-msgstr ""
+msgstr "Äri võimalused"
#. module: crm
#: model:crm.case.stage,name:crm.stage_claim1
msgid "Accepted as Claim"
-msgstr ""
+msgstr "Aksepteeritud kui nõue"
#. module: crm
#: view:crm.case.rule:0
@@ -432,6 +434,8 @@ msgid ""
"The rule use a AND operator. The case must match all non empty fields so "
"that the rule execute the action described in the 'Actions' tab."
msgstr ""
+"See reegel kasutab AND operaatorit. Juhtum peab sobima kõigi tühjade "
+"väljadega nii, et reegel käivitab 'Toimingud' kaardil kirjeldatud toimingu."
#. module: crm
#: field:crm.case,history_line:0
@@ -441,28 +445,28 @@ msgstr "Suhtlus"
#. module: crm
#: view:crm.case.rule:0
msgid "%(email_from)s = Partner email"
-msgstr ""
+msgstr "%(email_vorm)id = Partner email"
#. module: crm
#: model:crm.case.stage,name:crm.stage_lead6
msgid "Dead"
-msgstr ""
+msgstr "Surnud"
#. module: crm
#: view:crm.meeting:0
msgid "Confirm Meeting"
-msgstr ""
+msgstr "Kinnita koosolek"
#. module: crm
#: model:crm.case.categ,name:crm.categ_lead1
#: model:crm.case.categ,name:crm.categ_oppor1
msgid "Existing Customer"
-msgstr ""
+msgstr "Olemasolev klient"
#. module: crm
#: model:crm.case.category2,name:crm.category_meet2
msgid "Home"
-msgstr ""
+msgstr "Kodu"
#. module: crm
#: field:crm.case,categ_id:0
@@ -481,7 +485,7 @@ msgstr "Kategooria"
#: model:ir.ui.menu,name:crm.menu_crm_case_section_categ_stage_tree
#: view:report.crm.case.section.categ.stage:0
msgid "Cases by Section, Category and Stage"
-msgstr ""
+msgstr "Juhtumid jaotise, kategooria ja olekujärgi"
#. module: crm
#: help:crm.case.rule,act_mail_to_watchers:0
@@ -493,12 +497,12 @@ msgstr ""
#. module: crm
#: field:crm.meeting,class:0
msgid "Privacy"
-msgstr ""
+msgstr "Privaatsus"
#. module: crm
#: view:crm.case.rule:0
msgid "%(partner)s = Partner name"
-msgstr ""
+msgstr "%(partner)id = Partneri nimi"
#. module: crm
#: view:crm.case:0
@@ -513,7 +517,7 @@ msgstr "Toimingu Informatsioon"
#. module: crm
#: view:crm.case.rule:0
msgid "%(case_user_phone)s = Responsible phone"
-msgstr ""
+msgstr "%(juhtumi_kasutaja_telefon)id = Vastutaja telefon"
#. module: crm
#: constraint:ir.model:0
@@ -552,7 +556,7 @@ msgstr "Staatus"
#: model:ir.actions.wizard,name:crm.wizard_partner_create_opportunity
#: model:ir.actions.wizard,name:crm.wizard_partner_create_opportunity1
msgid "Create Opportunity"
-msgstr ""
+msgstr "Loo võimalus"
#. module: crm
#: selection:report.crm.case.section.categ.categ2,month:0
@@ -560,12 +564,12 @@ msgstr ""
#: selection:report.crm.case.section.categ2,month:0
#: selection:report.crm.case.section.stage,month:0
msgid "August"
-msgstr ""
+msgstr "August"
#. module: crm
#: view:crm.meeting:0
msgid "Meetings Tree"
-msgstr ""
+msgstr "Koosolekute puu"
#. module: crm
#: code:addons/crm/crm.py:0
@@ -582,7 +586,7 @@ msgstr "Eskaleeri"
#. module: crm
#: model:ir.ui.menu,name:crm.menu_crm_case_categ_meet
msgid "All Meetings"
-msgstr ""
+msgstr "Kõik koosolekud"
#. module: crm
#: model:ir.module.module,shortdesc:crm.module_meta_information
@@ -601,7 +605,7 @@ msgstr ""
#: selection:report.crm.case.section.categ2,month:0
#: selection:report.crm.case.section.stage,month:0
msgid "June"
-msgstr ""
+msgstr "Juuni"
#. module: crm
#: field:crm.segmentation,som_interval_default:0
@@ -611,7 +615,7 @@ msgstr "Vaikimisi (0=Puudub)"
#. module: crm
#: model:crm.case.stage,name:crm.stage_job7
msgid "Refused by Company"
-msgstr ""
+msgstr "Tagasi lükatud firmapoolt"
#. module: crm
#: field:crm.case,planned_revenue:0
@@ -629,32 +633,32 @@ msgstr "Luba kustutamine"
#: selection:report.crm.case.section.categ2,month:0
#: selection:report.crm.case.section.stage,month:0
msgid "October"
-msgstr ""
+msgstr "Oktoober"
#. module: crm
#: model:crm.case.stage,name:crm.stage_oppor3
msgid "Value Proposition"
-msgstr ""
+msgstr "Avalduse väärtus"
#. module: crm
#: view:crm.case.rule:0
msgid "%(case_id)s = Case ID"
-msgstr ""
+msgstr "%(juhtumi_id)d = Juhtumi ID"
#. module: crm
#: model:crm.case.category2,name:crm.category_oppor2
msgid "New Business"
-msgstr ""
+msgstr "Uus Firma"
#. module: crm
#: help:crm.case,email_from:0
msgid "These people will receive email."
-msgstr ""
+msgstr "Nendele inimestele saadetakse e-kiri."
#. module: crm
#: help:crm.case.section,calendar:0
msgid "Allows to show calendar"
-msgstr ""
+msgstr "Allows to show calendar"
#. module: crm
#: view:crm.job:0
@@ -662,13 +666,13 @@ msgstr ""
#: view:crm.opportunity:0
#: view:crm.phonecall:0
msgid " Today "
-msgstr ""
+msgstr " Täna "
#. module: crm
#: wizard_view:crm.job.reschedule_phone_call,init:0
#: wizard_view:crm.opportunity.reschedule_phone_call,init:0
msgid "Phone Call Description"
-msgstr ""
+msgstr "Telefonikõnede kirjeldus"
#. module: crm
#: view:crm.case.categ:0
@@ -687,7 +691,7 @@ msgstr ""
#. module: crm
#: model:crm.case.categ,name:crm.categ_claim3
msgid "Policy Claims"
-msgstr ""
+msgstr "Nõuete eeskiri"
#. module: crm
#: code:addons/crm/crm.py:0
@@ -697,11 +701,12 @@ msgstr ""
msgid ""
"You must define a responsible user for this case in order to use this action!"
msgstr ""
+"Peate määratlema vastutav kasutaja Sel juhul, et kasutada seda tegevust!"
#. module: crm
#: view:crm.phonecall:0
msgid "Assigned to"
-msgstr ""
+msgstr "Omistatud"
#. module: crm
#: view:res.partner.events:0
@@ -711,12 +716,12 @@ msgstr "Partneri sündmused"
#. module: crm
#: model:crm.case.stage,name:crm.stage_job4
msgid "Contract Proposed"
-msgstr ""
+msgstr "Leping esitatud"
#. module: crm
#: model:ir.ui.menu,name:crm.menu_crm_case_job_req_main
msgid "Jobs - Hiring Process"
-msgstr ""
+msgstr "Töökohad - Töölevõtmise protsess"
#. module: crm
#: view:crm.case:0
@@ -732,7 +737,7 @@ msgstr ""
#: selection:report.crm.case.section.categ2,month:0
#: selection:report.crm.case.section.stage,month:0
msgid "September"
-msgstr ""
+msgstr "September"
#. module: crm
#: view:crm.case:0
@@ -752,18 +757,18 @@ msgstr ""
#. module: crm
#: view:crm.meeting:0
msgid "Meetings Form"
-msgstr ""
+msgstr "Koosolekute vorm"
#. module: crm
#: model:crm.case.stage,name:crm.stage_oppor5
msgid "Negotiation/Review"
-msgstr ""
+msgstr "Läbirääkimine/Ülevaade"
#. module: crm
#: code:addons/crm/wizard/crm_phonecall_wizard.py:0
#, python-format
msgid "A partner is already defined on this phonecall."
-msgstr ""
+msgstr "Partner on juba määratletud selle telefonikõne."
#. module: crm
#: model:ir.ui.menu,name:crm.menu_action_report_crm_case_oppor_stage
@@ -773,7 +778,7 @@ msgstr ""
#. module: crm
#: view:crm.claim:0
msgid "Date of Claim"
-msgstr ""
+msgstr "Nõude kuupäev"
#. module: crm
#: view:crm.segmentation.line:0
@@ -783,12 +788,12 @@ msgstr "Partneri Segmenteerimise Read"
#. module: crm
#: model:ir.actions.act_window,name:crm.crm_case_category_act_leads_all
msgid "All Leads"
-msgstr ""
+msgstr "Kõik juhtimised"
#. module: crm
#: view:crm.lead:0
msgid "Leads Form"
-msgstr ""
+msgstr "Juhtimised alates"
#. module: crm
#: view:crm.segmentation:0
@@ -799,7 +804,7 @@ msgstr "Partneri Segmenteerimine"
#. module: crm
#: model:crm.case.stage,name:crm.stage_job5
msgid "Contract Signed"
-msgstr ""
+msgstr "Leping allakirjutatud"
#. module: crm
#: wizard_view:caldav.crm.subscribe,init:0
@@ -809,7 +814,7 @@ msgstr ""
#. module: crm
#: model:crm.case.category2,name:crm.category_oppor1
msgid "Existing Business"
-msgstr ""
+msgstr "Eksisteeriv äri"
#. module: crm
#: field:crm.case,probability:0
@@ -847,7 +852,7 @@ msgstr "Juhtumi Reegel"
#: model:ir.ui.menu,name:crm.menu_action_report_crm_case_oppor
#, python-format
msgid "Opportunity"
-msgstr ""
+msgstr "Võimalus"
#. module: crm
#: view:crm.case:0
@@ -857,12 +862,12 @@ msgstr ""
#: view:crm.lead:0
#: view:crm.opportunity:0
msgid "Emails"
-msgstr ""
+msgstr "E-postid"
#. module: crm
#: model:crm.case.category2,name:crm.category_lead7
msgid "Television"
-msgstr ""
+msgstr "Televisioon"
#. module: crm
#: view:crm.segmentation:0
@@ -872,18 +877,18 @@ msgstr "Peata Protsess"
#. module: crm
#: model:crm.case.categ,name:crm.categ_claim1
msgid "Factual Claims"
-msgstr ""
+msgstr "Reaalsed nõuded"
#. module: crm
#: view:crm.phonecall:0
msgid "Search Phonecalls"
-msgstr ""
+msgstr "Otsi telefonikõnesi"
#. module: crm
#: wizard_button:crm.lead.opportunity_set,create_partner,create:0
#: wizard_button:crm.phonecall.opportunity_set,create_partner,create:0
msgid "Continue"
-msgstr ""
+msgstr "Jätka"
#. module: crm
#: field:crm.segmentation,som_interval:0
@@ -898,13 +903,13 @@ msgstr "Väärtus"
#. module: crm
#: help:caldav.crm.export,init,name:0
msgid "Save in .ics format"
-msgstr ""
+msgstr "Salvesta .ics vormingusse"
#. module: crm
#: wizard_field:crm.new.send.mail,init,text:0
#: wizard_field:crm.send.mail,init,text:0
msgid "Message"
-msgstr ""
+msgstr "Sõnum"
#. module: crm
#: help:crm.segmentation,exclusif:0
@@ -920,7 +925,7 @@ msgstr ""
#. module: crm
#: field:crm.segmentation,exclusif:0
msgid "Exclusive"
-msgstr ""
+msgstr "Eksklusiivne"
#. module: crm
#: help:crm.case,categ_id:0
@@ -938,12 +943,12 @@ msgstr "Sea olekusse"
#: code:addons/crm/crm.py:0
#, python-format
msgid "Email!"
-msgstr ""
+msgstr "E-kiri!"
#. module: crm
#: model:crm.case.category2,name:crm.category_lead6
msgid "Radio"
-msgstr ""
+msgstr "Raadio"
#. module: crm
#: model:ir.model,name:crm.model_crm_opportunity_assign_wizard
@@ -953,7 +958,7 @@ msgstr ""
#. module: crm
#: view:crm.case.rule:0
msgid "Conditions on States"
-msgstr ""
+msgstr "Staatuste seisukord"
#. module: crm
#: field:crm.case.rule,trg_date_type:0
@@ -963,7 +968,7 @@ msgstr "Päästiku kuupäev"
#. module: crm
#: view:crm.case.history:0
msgid "Search Histories"
-msgstr ""
+msgstr "Otsi ajalugu"
#. module: crm
#: help:crm.case.stage,sequence:0
@@ -976,7 +981,7 @@ msgstr ""
#: model:ir.ui.menu,name:crm.menu_crm_case_opp
#: model:process.node,name:crm.process_node_opportunities0
msgid "Opportunities"
-msgstr ""
+msgstr "Võimalused"
#. module: crm
#: help:crm.segmentation,name:0
@@ -1002,7 +1007,7 @@ msgstr "Ostu Kogus"
#. module: crm
#: view:crm.phonecall:0
msgid "Direction"
-msgstr ""
+msgstr "Suund"
#. module: crm
#: help:crm.case,email_cc:0
@@ -1018,7 +1023,7 @@ msgstr ""
#: selection:report.crm.case.section.categ2,month:0
#: selection:report.crm.case.section.stage,month:0
msgid "March"
-msgstr ""
+msgstr "Märts"
#. module: crm
#: view:crm.case.rule:0
@@ -1035,7 +1040,7 @@ msgstr "Reeglid"
#: wizard_view:crm.job.meeting_set,init:0
#: wizard_view:crm.phonecall.meeting_set,init:0
msgid "Plan Meeting"
-msgstr ""
+msgstr "Koosoleku plaan"
#. module: crm
#: wizard_field:crm.new.send.mail,init,state:0
@@ -1056,7 +1061,7 @@ msgstr ""
#: model:ir.actions.wizard,name:crm.wizard_crm_lead_partner_create
#: model:ir.actions.wizard,name:crm.wizard_crm_phonecall_partner_create
msgid "Create Partner"
-msgstr ""
+msgstr "Loo partner"
#. module: crm
#: selection:crm.segmentation.line,expr_operator:0
@@ -1066,17 +1071,17 @@ msgstr "<"
#. module: crm
#: view:crm.case.rule:0
msgid "%(case_description)s = Case description"
-msgstr ""
+msgstr "%(case_description)s = Juhtumi kirjeldus"
#. module: crm
#: view:crm.fundraising:0
msgid "My Funds"
-msgstr ""
+msgstr "Minu vahendid"
#. module: crm
#: field:crm.case,partner_mobile:0
msgid "Mobile"
-msgstr ""
+msgstr "Mobiil"
#. module: crm
#: field:crm.case.rule,name:0
@@ -1097,12 +1102,12 @@ msgstr "Juhtumi ajalugu"
#. module: crm
#: model:crm.case.categ,name:crm.categ_job2
msgid "Junior Developer"
-msgstr ""
+msgstr "Noorem Arendaja"
#. module: crm
#: view:crm.meeting:0
msgid "My Meetings"
-msgstr ""
+msgstr "Minu kohtumised"
#. module: crm
#: field:crm.case.categ,name:0
@@ -1112,7 +1117,7 @@ msgstr "Juhtumi Kategooria Nimi"
#. module: crm
#: model:crm.case.category2,name:crm.category_claim2
msgid "Preventive"
-msgstr ""
+msgstr "Ennetav"
#. module: crm
#: field:crm.case.rule,act_email_cc:0
@@ -1150,7 +1155,7 @@ msgstr ""
#: view:crm.meeting:0
#, python-format
msgid "Meetings"
-msgstr ""
+msgstr "Koosolekud"
#. module: crm
#: view:crm.case.rule:0
@@ -1175,12 +1180,12 @@ msgstr "Tähtaeg"
#: wizard_button:caldav.crm.import,init,end:0
#: wizard_button:caldav.crm.subscribe,init,end:0
msgid "_Cancel"
-msgstr ""
+msgstr "_Katkesta"
#. module: crm
#: field:crm.case,category2_id:0
msgid "Category Name"
-msgstr ""
+msgstr "Kategooria nimi"
#. module: crm
#: view:crm.segmentation:0
@@ -1204,12 +1209,12 @@ msgstr "Juhtumi Kategooria"
#: view:crm.phonecall:0
#: wizard_field:crm.send.mail,init,subject:0
msgid "Subject"
-msgstr ""
+msgstr "Subjekt"
#. module: crm
#: field:crm.meeting,attendees:0
msgid "Attendees"
-msgstr ""
+msgstr "Osalejad"
#. module: crm
#: model:ir.module.module,description:crm.module_meta_information
@@ -1269,7 +1274,7 @@ msgstr ""
#. module: crm
#: model:process.transition,note:crm.process_transition_leadpartner0
msgid "Prospect is converting to business partner"
-msgstr ""
+msgstr "Perspektiiv konverditakse äripartneriks"
#. module: crm
#: view:crm.case.rule:0
@@ -1289,7 +1294,7 @@ msgstr ""
#. module: crm
#: model:crm.case.category2,name:crm.category_lead4
msgid "Print"
-msgstr ""
+msgstr "Prindi"
#. module: crm
#: field:crm.case,som:0
@@ -1304,12 +1309,12 @@ msgstr "Meeleolu"
#: field:report.crm.case.section.categ.categ2,category2_id:0
#: field:report.crm.case.section.categ2,category2_id:0
msgid "Type"
-msgstr ""
+msgstr "Tüüp"
#. module: crm
#: view:crm.job:0
msgid "Candidate Refused"
-msgstr ""
+msgstr "Kandidaat tagasilükatud"
#. module: crm
#: view:crm.segmentation:0
@@ -1339,12 +1344,12 @@ msgstr "Loomise Kuupäev"
#: view:crm.phonecall:0
#: model:process.node,name:crm.process_node_meeting0
msgid "Meeting"
-msgstr ""
+msgstr "Kohtumine"
#. module: crm
#: view:crm.case.rule:0
msgid "%(partner_email)s = Partner email"
-msgstr ""
+msgstr "%(partner_email)id = Partneri e-mail"
#. module: crm
#: view:crm.case:0
@@ -1360,12 +1365,12 @@ msgstr "Lähtesta mustandiks"
#. module: crm
#: model:ir.model,name:crm.model_report_crm_case_section_categ_categ2
msgid "Cases by section, Category and Category2"
-msgstr ""
+msgstr "Juhtumid sektsiooni kaupa, kategooria ja kategooria2"
#. module: crm
#: model:crm.case.stage,name:crm.stage_oppor6
msgid "Closed Won"
-msgstr ""
+msgstr "Suletud Võidetud"
#. module: crm
#: model:ir.actions.act_window,name:crm.act_crm_case_categ_crm_case_opened
@@ -1384,7 +1389,7 @@ msgstr "Avatud juhtumid"
#: field:report.crm.case.section.categ2,stage_id:0
#: field:report.crm.case.section.stage,stage_id:0
msgid "Stage"
-msgstr ""
+msgstr "Tase"
#. module: crm
#: constraint:ir.ui.view:0
@@ -1401,7 +1406,7 @@ msgstr ""
#. module: crm
#: model:crm.case.categ,name:crm.categ_fund2
msgid "Learning And Education"
-msgstr ""
+msgstr "Õppimine ja haridus"
#. module: crm
#: wizard_view:crm.phonecall.opportunity_set,create_partner:0
@@ -1414,36 +1419,36 @@ msgstr ""
#: model:ir.actions.act_window,name:crm.crm_case_stage_act
#: model:ir.ui.menu,name:crm.menu_crm_case_stage_act
msgid "Stages"
-msgstr ""
+msgstr "Etapid"
#. module: crm
#: wizard_field:crm.case.opportunity.partner_opportunity,init,planned_revenue:0
#: wizard_field:crm.lead.opportunity_set,opportunity,planned_revenue:0
#: wizard_field:crm.phonecall.opportunity_set,opportunity,planned_revenue:0
msgid "Expected Revenue"
-msgstr ""
+msgstr "Eeldatav tulu"
#. module: crm
#: view:crm.meeting:0
msgid "Meeting Date"
-msgstr ""
+msgstr "Koosoleku kuupäev"
#. module: crm
#: view:crm.job:0
#: view:crm.lead:0
#: view:crm.phonecall:0
msgid "Convert to Partner"
-msgstr ""
+msgstr "Muuda partneriks"
#. module: crm
#: model:ir.actions.act_window,name:crm.crm_case_category_act_meetall3
msgid "Next Meetings"
-msgstr ""
+msgstr "Järgmised kohtumised"
#. module: crm
#: field:crm.segmentation,partner_id:0
msgid "Max Partner ID processed"
-msgstr ""
+msgstr "Maks Partner ID töödeldud"
#. module: crm
#: code:addons/crm/crm.py:0
@@ -1454,7 +1459,7 @@ msgstr "Sa ei saa seda juhtumit kustutada. Parem tühista see."
#. module: crm
#: wizard_button:caldav.crm.subscribe,init,open:0
msgid "_Subscribe"
-msgstr ""
+msgstr "_Telli"
#. module: crm
#: field:crm.case.rule,trg_priority_from:0
@@ -1469,12 +1474,12 @@ msgstr ""
#. module: crm
#: model:crm.case.categ,name:crm.categ_claim2
msgid "Value Claims"
-msgstr ""
+msgstr "Nõuete Väärtus"
#. module: crm
#: wizard_view:caldav.crm.subscribe,display:0
msgid "Message..."
-msgstr ""
+msgstr "Sõnum..."
#. module: crm
#: model:ir.model,name:crm.model_crm_phonecall_assign_wizard
@@ -1484,7 +1489,7 @@ msgstr ""
#. module: crm
#: view:report.crm.case.section.categ2:0
msgid "Cases by Section and Category2"
-msgstr ""
+msgstr "Juhtumid jaotise ja kategooria2 järgi"
#. module: crm
#: code:addons/crm/crm.py:0
@@ -1496,7 +1501,7 @@ msgstr "valmis"
#: view:crm.meeting:0
#: view:crm.phonecall:0
msgid "Reminder"
-msgstr ""
+msgstr "Meeldetuletus"
#. module: crm
#: help:crm.segmentation,sales_purchase_active:0
@@ -1522,7 +1527,7 @@ msgstr "Meeldetuletus manusega"
#: model:crm.case.categ,name:crm.categ_lead6
#: model:crm.case.categ,name:crm.categ_oppor6
msgid "Website"
-msgstr ""
+msgstr "Veebileht"
#. module: crm
#: field:crm.case.rule,act_remind_user:0
@@ -1532,7 +1537,7 @@ msgstr "Meeldetuletus vastutajale"
#. module: crm
#: field:crm.segmentation,state:0
msgid "Execution Status"
-msgstr ""
+msgstr "Täideviimise olek"
#. module: crm
#: help:crm.menu.config_wizard,jobs:0
@@ -1544,7 +1549,7 @@ msgstr ""
#. module: crm
#: view:crm.fundraising:0
msgid "Funds"
-msgstr ""
+msgstr "Vahendid"
#. module: crm
#: code:addons/crm/crm.py:0
@@ -1556,7 +1561,7 @@ msgstr "mustand"
#: model:crm.case.stage,name:crm.stage_claim5
#: model:crm.case.stage,name:crm.stage_meet4
msgid "Awaiting Response"
-msgstr ""
+msgstr "Vastuse ootel"
#. module: crm
#: field:crm.case,date:0
@@ -1570,13 +1575,13 @@ msgstr "Kuupäev"
#. module: crm
#: view:crm.job:0
msgid "Candidate Name"
-msgstr ""
+msgstr "Kandidaadi Nimi"
#. module: crm
#: model:crm.case.categ,name:crm.categ_lead2
#: model:crm.case.categ,name:crm.categ_oppor2
msgid "Self Generated"
-msgstr ""
+msgstr "Endal genereeritud"
#. module: crm
#: model:crm.case.stage,name:crm.stage_claim3
@@ -1586,7 +1591,7 @@ msgstr ""
#. module: crm
#: model:crm.case.stage,name:crm.stage_lead4
msgid "Converted"
-msgstr ""
+msgstr "Muudetud"
#. module: crm
#: view:crm.case:0
@@ -1626,7 +1631,7 @@ msgstr ""
#. module: crm
#: view:crm.job:0
msgid "Jobs - Recruitment Tree"
-msgstr ""
+msgstr "Töökohad - Värbamise puu"
#. module: crm
#: field:crm.case.rule,regex_name:0
@@ -1640,7 +1645,7 @@ msgstr ""
#: field:report.crm.case.section.categ2,state:0
#: field:report.crm.case.section.stage,state:0
msgid "State"
-msgstr ""
+msgstr "Riik"
#. module: crm
#: view:crm.case:0
@@ -1701,12 +1706,12 @@ msgstr ""
#. module: crm
#: view:crm.claim:0
msgid "Type of claim"
-msgstr ""
+msgstr "Nõude tüüp"
#. module: crm
#: view:crm.case:0
msgid "Helpdesk Support Tree"
-msgstr ""
+msgstr "Helpdesk toetuse puu"
#. module: crm
#: view:res.partner.events:0
@@ -1716,12 +1721,12 @@ msgstr "Üldine kirjeldus"
#. module: crm
#: view:crm.meeting:0
msgid "Other Info"
-msgstr ""
+msgstr "Muu info"
#. module: crm
#: view:crm.claim:0
msgid "Claim Cost"
-msgstr ""
+msgstr "Nõude kulud"
#. module: crm
#: view:crm.job:0
@@ -1747,7 +1752,7 @@ msgstr ""
#. module: crm
#: model:crm.case.category2,name:crm.category_lead2
msgid "Mail"
-msgstr ""
+msgstr "E-Kiri"
#. module: crm
#: field:crm.case.rule,act_priority:0
@@ -1757,7 +1762,7 @@ msgstr "Sea prioriteet"
#. module: crm
#: model:crm.case.stage,name:crm.stage_oppor2
msgid "Needs Analysis"
-msgstr ""
+msgstr "Vajab analüüsi"
#. module: crm
#: view:crm.claim:0
@@ -1772,7 +1777,7 @@ msgstr "Maili keha"
#. module: crm
#: help:crm.menu.config_wizard,meeting:0
msgid "Manages the calendar of meetings of the users."
-msgstr ""
+msgstr "Haldab kasutajate koosolekute kalendrit."
#. module: crm
#: selection:crm.segmentation.line,expr_name:0
@@ -1805,12 +1810,12 @@ msgstr "Nimi"
#. module: crm
#: view:crm.opportunity:0
msgid "Sales Stage"
-msgstr ""
+msgstr "Müügistaatus"
#. module: crm
#: field:crm.meeting,alarm_id:0
msgid "Alarm"
-msgstr ""
+msgstr "Alarm"
#. module: crm
#: field:crm.case.rule,act_mail_to_watchers:0
@@ -1821,7 +1826,7 @@ msgstr ""
#: view:crm.fundraising:0
#: view:crm.meeting:0
msgid "Next Meeting"
-msgstr ""
+msgstr "Järgmine Koosolek"
#. module: crm
#: code:addons/crm/crm.py:0
@@ -1844,7 +1849,7 @@ msgstr ""
#. module: crm
#: field:crm.menu.config_wizard,bugs:0
msgid "Bug Tracking"
-msgstr ""
+msgstr "Vigade jälgimine"
#. module: crm
#: view:crm.case:0
@@ -1883,7 +1888,7 @@ msgstr ""
#. module: crm
#: model:crm.case.stage,name:crm.stage_oppor4
msgid "Proposal/Price Quote"
-msgstr ""
+msgstr "Ettepanek/Hinnapakkumine"
#. module: crm
#: view:crm.case.rule:0
@@ -1893,12 +1898,12 @@ msgstr "Viivitus peale päästiku kuupäeva:"
#. module: crm
#: model:crm.case.category2,name:crm.category_lead5
msgid "Web"
-msgstr ""
+msgstr "Veeb"
#. module: crm
#: view:crm.lead:0
msgid "Campaign Type"
-msgstr ""
+msgstr "Kampaanja tüüp"
#. module: crm
#: view:crm.segmentation:0
@@ -1910,7 +1915,7 @@ msgstr "Meeleolu arvutamine"
#: code:addons/crm/wizard/wizard_crm_send_email.py:0
#, python-format
msgid "Error"
-msgstr ""
+msgstr "Viga"
#. module: crm
#: model:ir.model,name:crm.model_crm_meeting_generic_wizard
@@ -1920,12 +1925,12 @@ msgstr ""
#. module: crm
#: model:ir.actions.act_window,name:crm.crm_case_history-act
msgid "Histories"
-msgstr ""
+msgstr "Aja lood"
#. module: crm
#: model:crm.case.category2,name:crm.category_job1
msgid "Graduate"
-msgstr ""
+msgstr "Teaduslik kraad"
#. module: crm
#: wizard_view:crm.job.meeting_set,init:0
@@ -1934,11 +1939,13 @@ msgid ""
"Note that you can also use the calendar view to graphically schedule your "
"next meeting."
msgstr ""
+"Sa saad kasutada ka kalendrivaadet, et graafiliselt planeerida oma järgmist "
+"kohtumist."
#. module: crm
#: view:crm.lead:0
msgid "Leads Tree"
-msgstr ""
+msgstr "Algatuste puu"
#. module: crm
#: field:crm.meeting,caldav_url:0
@@ -1948,7 +1955,7 @@ msgstr ""
#. module: crm
#: view:crm.meeting:0
msgid "Attendee"
-msgstr ""
+msgstr "Osaleja"
#. module: crm
#: code:addons/crm/crm.py:0
@@ -1962,12 +1969,12 @@ msgstr ""
#: model:ir.actions.act_window,name:crm.crm_case_categ_phone_incoming0
#: model:ir.ui.menu,name:crm.menu_crm_case_phone_inbound
msgid "Inbound"
-msgstr ""
+msgstr "Sissetulev"
#. module: crm
#: constraint:crm.case.section:0
msgid "Error ! You cannot create recursive sections."
-msgstr ""
+msgstr "Viga! Sa ei saa luua rekursiivseid sektsioone."
#. module: crm
#: model:ir.ui.menu,name:crm.menu_crm
@@ -1980,6 +1987,8 @@ msgid ""
" Will allow you to synchronise your Open ERP calendars with your phone, "
"outlook, Sunbird, ical, ..."
msgstr ""
+" Lubab sul sünkroniseerida Open ERP kalendreid telefoni, Outlook, Sunbird, "
+"ical, ..."
#. module: crm
#: view:report.crm.case.section.categ.categ2:0
@@ -1987,7 +1996,7 @@ msgstr ""
#: view:report.crm.case.section.categ2:0
#: view:report.crm.case.section.stage:0
msgid "This Year"
-msgstr ""
+msgstr "See aasta"
#. module: crm
#: field:crm.case.rule,act_remind_partner:0
@@ -2005,7 +2014,7 @@ msgstr "Kõrgeim"
#. module: crm
#: view:crm.job:0
msgid "Contract Data"
-msgstr ""
+msgstr "Lepingu andmed"
#. module: crm
#: selection:crm.case.rule,trg_date_range_type:0
@@ -2020,7 +2029,7 @@ msgstr ""
#. module: crm
#: field:crm.menu.config_wizard,document_ics:0
msgid "Shared Calendar"
-msgstr ""
+msgstr "Jagatud kalender"
#. module: crm
#: field:crm.case.section,reply_to:0
@@ -2041,12 +2050,12 @@ msgstr "Minutid"
#: field:report.crm.case.section.categ2,amount_revenue:0
#: field:report.crm.case.section.stage,amount_revenue:0
msgid "Est.Revenue"
-msgstr ""
+msgstr "Loodetav tulu"
#. module: crm
#: model:crm.case.stage,name:crm.stage_job1
msgid "Initial Jobs Demand"
-msgstr ""
+msgstr "Esialgne töökohtade vajadus"
#. module: crm
#: field:crm.case.rule,trg_priority_to:0
@@ -2056,17 +2065,17 @@ msgstr "Maksimaalne Prioriteet"
#. module: crm
#: selection:crm.meeting,transparent:0
msgid "OPAQUE"
-msgstr ""
+msgstr "LÄBIPAISTMATU"
#. module: crm
#: view:crm.claim:0
msgid "Claims Info"
-msgstr ""
+msgstr "Nõuete Info"
#. module: crm
#: field:crm.case.category2,name:0
msgid "Case Category2 Name"
-msgstr ""
+msgstr "Juhtumi Kategooria2 nimi"
#. module: crm
#: wizard_view:crm.lead.opportunity_set,opportunity:0
@@ -2074,7 +2083,7 @@ msgstr ""
#: model:ir.actions.wizard,name:crm.wizard_crm_lead_opportunity_set
#: model:ir.actions.wizard,name:crm.wizard_crm_phonecall_opportunity_set
msgid "Convert To Opportunity"
-msgstr ""
+msgstr "Konverdi võimaluseks"
#. module: crm
#: model:crm.case.stage,name:crm.stage_phone2
@@ -2085,7 +2094,7 @@ msgstr ""
#. module: crm
#: view:crm.case:0
msgid "Helpdesk Supports"
-msgstr ""
+msgstr "Helpdesk'i toed"
#. module: crm
#: model:crm.case.section,name:crm.section_support4
diff --git a/addons/crm/report/crm_lead_report.py b/addons/crm/report/crm_lead_report.py
index 39806c50803..db9837b5d0c 100644
--- a/addons/crm/report/crm_lead_report.py
+++ b/addons/crm/report/crm_lead_report.py
@@ -21,6 +21,7 @@
from osv import fields,osv
import tools
+from crm import crm
AVAILABLE_STATES = [
('draft','Draft'),
@@ -91,9 +92,11 @@ class crm_lead_report(osv.osv):
'create_date': fields.datetime('Create Date', readonly=True),
'day': fields.char('Day', size=128, readonly=True),
'email': fields.integer('# of Emails', size=128, readonly=True),
- 'expected_closing_days': fields.integer('# of Expected Closing Days', size=128, readonly=True),
'delay_open': fields.float('Delay to open',digits=(16,2),readonly=True, group_operator="avg",help="Number of Days to open the case"),
+ 'delay_expected': fields.float('Overpassed Deadline',digits=(16,2),readonly=True, group_operator="avg"),
'delay_close': fields.float('Delay to close',digits=(16,2),readonly=True, group_operator="avg",help="Number of Days to close the case"),
+ 'probability': fields.float('Probability',digits=(16,2),readonly=True),
+ 'planned_revenue': fields.float('Planned Revenue',digits=(16,2),readonly=True),
'categ_id': fields.many2one('crm.case.categ', 'Category',\
domain="[('section_id','=',section_id),\
('object_id.model', '=', 'crm.lead')]" , readonly=True),
@@ -101,7 +104,12 @@ class crm_lead_report(osv.osv):
domain="[('section_id','=',section_id),\
('object_id.model', '=', 'crm.lead')]", readonly=True),
'partner_id': fields.many2one('res.partner', 'Partner' , readonly=True),
+ 'opening_date': fields.date('Opening Date', readonly=True),
+ 'creation_date': fields.date('Creation Date', readonly=True),
+ 'date_closed': fields.date('Close Date', readonly=True),
'company_id': fields.many2one('res.company', 'Company', readonly=True),
+ 'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority'),
+
'type':fields.selection([
('lead','Lead'),
('opportunity','Opportunity'),
@@ -122,36 +130,47 @@ class crm_lead_report(osv.osv):
to_char(c.create_date, 'YYYY') as name,
to_char(c.create_date, 'MM') as month,
to_char(c.create_date, 'YYYY-MM-DD') as day,
+ to_char(c.create_date, 'YYYY-MM-DD') as creation_date,
+ to_char(c.date_open, 'YYYY-MM-DD') as opening_date,
+ to_char(c.date_closed, 'YYYY-mm-dd') as date_closed,
c.state as state,
c.user_id,
+ c.probability,
c.stage_id,
c.type as type,
c.company_id,
+ c.priority,
c.section_id,
c.categ_id,
c.partner_id,
- count(*) as nbr,
+ c.planned_revenue,
+ (select 1) as nbr,
0 as avg_answers,
0.0 as perc_done,
0.0 as perc_cancel,
(select count(id) from mailgate_message where thread_id=c.id) as email,
date_trunc('day',c.create_date) as create_date,
- sum(cast(to_char(date_trunc('day',c.date_open) - date_trunc('day',c.date_deadline),'DD') as int)) as expected_closing_days,
avg(extract('epoch' from (c.date_closed-c.create_date)))/(3600*24) as delay_close,
+ avg(extract('epoch' from (c.date_deadline - c.date_closed)))/(3600*24) as delay_expected,
avg(extract('epoch' from (c.date_open-c.create_date)))/(3600*24) as delay_open
from
crm_lead c
group by
to_char(c.create_date, 'YYYY'),
+ to_char(c.date_open, 'YYYY-MM-DD'),
+ to_char(c.date_closed, 'YYYY-mm-dd'),
to_char(c.create_date, 'MM'),
c.state,
c.user_id,
c.id,
c.section_id,
c.stage_id,
- categ_id,
+ c.probability,
+ c.categ_id,
c.partner_id,
+ c.planned_revenue,
c.company_id,
+ c.priority,
c.type,
c.create_date,
to_char(c.create_date, 'YYYY-MM-DD')
diff --git a/addons/crm/report/crm_lead_report_view.xml b/addons/crm/report/crm_lead_report_view.xml
index 770d9292b6f..f6ac9238b3c 100644
--- a/addons/crm/report/crm_lead_report_view.xml
+++ b/addons/crm/report/crm_lead_report_view.xml
@@ -10,19 +10,24 @@
tree
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -71,20 +76,17 @@
-
-
-
-
-
-
+
@@ -98,40 +100,51 @@
help="My section" />
-
+
-
-
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -144,23 +157,26 @@
crm.lead.report
tree
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -173,7 +189,7 @@
form
{"search_default_User":1,"search_default_This Month":1,'group_by_no_leaf':1,'group_by':[]}
tree,graph
- [('type', '=', 'lead')]
+ ['|',('type', '=', 'lead'),('type', '=', False)]
diff --git a/addons/crm/report/crm_phonecall_report.py b/addons/crm/report/crm_phonecall_report.py
index c1954f8607f..c0e666e4eaa 100644
--- a/addons/crm/report/crm_phonecall_report.py
+++ b/addons/crm/report/crm_phonecall_report.py
@@ -21,6 +21,7 @@
from osv import fields,osv
import tools
+from crm import crm
AVAILABLE_STATES = [
('draft','Draft'),
@@ -78,6 +79,7 @@ class crm_phonecall_report(osv.osv):
'name': fields.char('Year', size=64, required=False, readonly=True),
'user_id':fields.many2one('res.users', 'User', readonly=True),
'section_id':fields.many2one('crm.case.section', 'Section', readonly=True),
+ 'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority'),
'nbr': fields.integer('# of Cases', readonly=True),
'state': fields.selection(AVAILABLE_STATES, 'State', size=16, readonly=True),
'avg_answers': fields.function(_get_data, string='Avg. Answers', method=True, type="integer"),
@@ -89,15 +91,22 @@ class crm_phonecall_report(osv.osv):
('07', 'July'), ('08', 'August'),\
('09', 'September'), ('10', 'October'),\
('11', 'November'), ('12', 'December')], 'Month', readonly=True),
- 'company_id': fields.many2one('res.company', 'Company', readonly=True),
'create_date': fields.datetime('Create Date', readonly=True),
'day': fields.char('Day', size=128, readonly=True),
'delay_close': fields.float('Delay to close', digits=(16,2),readonly=True, group_operator="avg",help="Number of Days to close the case"),
+ 'duration': fields.float('Duration', digits=(16,2),readonly=True, group_operator="avg"),
+ 'delay_open': fields.float('Delay to open',digits=(16,2),readonly=True, group_operator="avg",help="Number of Days to open the case"),
'categ_id': fields.many2one('crm.case.categ', 'Category', \
domain="[('section_id','=',section_id),\
('object_id.model', '=', 'crm.phonecall')]"),
'partner_id': fields.many2one('res.partner', 'Partner' , readonly=True),
+ 'stage_id': fields.many2one ('crm.case.stage', 'Stage', \
+ domain="[('section_id','=',section_id),\
+ ('object_id.model', '=', 'crm.phonecall')]", readonly=True),
'company_id': fields.many2one('res.company', 'Company', readonly=True),
+ 'opening_date': fields.date('Opening Date', readonly=True),
+ 'creation_date': fields.date('Creation Date', readonly=True),
+ 'date_closed': fields.date('Close Date', readonly=True),
}
def init(self, cr):
@@ -114,23 +123,45 @@ class crm_phonecall_report(osv.osv):
to_char(c.create_date, 'YYYY') as name,
to_char(c.create_date, 'MM') as month,
to_char(c.create_date, 'YYYY-MM-DD') as day,
+ to_char(c.create_date, 'YYYY-MM-DD') as creation_date,
+ to_char(c.date_open, 'YYYY-MM-DD') as opening_date,
+ to_char(c.date_closed, 'YYYY-mm-dd') as date_closed,
+ c.state,
+ c.user_id,
+ c.section_id,
+ c.categ_id,
+ c.partner_id,
+ c.stage_id,
+ c.duration,
+ c.company_id,
+ c.priority,
+ (select 1) as nbr,
+ 0 as avg_answers,
+ 0.0 as perc_done,
+ 0.0 as perc_cancel,
+ date_trunc('day',c.create_date) as create_date,
+ avg(extract('epoch' from (c.date_closed-c.create_date)))/(3600*24) as delay_close,
+ avg(extract('epoch' from (c.date_open-c.create_date)))/(3600*24) as delay_open
+
+ from
+ crm_phonecall c
+ where c.categ_id in (select res_id from ir_model_data where (name = 'categ_phone1' or name ='categ_phone2'))
+ group by
+ to_char(c.create_date, 'YYYY'),
+ to_char(c.create_date, 'MM'),\
c.state,
c.user_id,
c.section_id,
c.categ_id,
c.partner_id,
c.company_id,
- count(*) as nbr,
- 0 as avg_answers,
- 0.0 as perc_done,
- 0.0 as perc_cancel,
- date_trunc('day',c.create_date) as create_date,
- avg(extract('epoch' from (c.date_closed-c.create_date)))/(3600*24) as delay_close
- from
- crm_phonecall c
- group by to_char(c.create_date, 'YYYY'), to_char(c.create_date, 'MM'),\
- c.state, c.user_id,c.section_id, c.categ_id,c.partner_id,c.company_id
- ,to_char(c.create_date, 'YYYY-MM-DD'),c.create_date
+ c.duration,
+ c.priority,
+ to_char(c.date_open, 'YYYY-MM-DD'),
+ to_char(c.date_closed, 'YYYY-mm-dd'),
+ c.stage_id,
+ to_char(c.create_date, 'YYYY-MM-DD'),
+ c.create_date
)""")
crm_phonecall_report()
diff --git a/addons/crm/report/crm_phonecall_report_view.xml b/addons/crm/report/crm_phonecall_report_view.xml
index 4e57ba1d474..ddc50460e31 100644
--- a/addons/crm/report/crm_phonecall_report_view.xml
+++ b/addons/crm/report/crm_phonecall_report_view.xml
@@ -10,18 +10,22 @@
tree
-
-
-
+
+
+
+
+
-
-
-
+
+
+
+
+
@@ -36,9 +40,9 @@
-
+
-
+
@@ -73,97 +77,86 @@
-
-
-
+
-
-
+
-
+
-
-
-
-
-
-
-
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
diff --git a/addons/crm/res_partner_view.xml b/addons/crm/res_partner_view.xml
index 24523f7b072..254d2c8f3b4 100644
--- a/addons/crm/res_partner_view.xml
+++ b/addons/crm/res_partner_view.xml
@@ -11,52 +11,48 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/crm/test/test_crm_meeting.yml b/addons/crm/test/test_crm_meeting.yml
index 6365c913b1f..94a7b7a9442 100644
--- a/addons/crm/test/test_crm_meeting.yml
+++ b/addons/crm/test/test_crm_meeting.yml
@@ -9,11 +9,11 @@
date: '2010-04-21 16:04:00'
date_deadline: '2010-04-22 00:04:00'
duration: 8.0
- email_from: info@balmerinc.be
- location: Ahmedabad
- name: Regarding Presentation
+ email_from: info@mycompany.com
+ location: B-1367 Grand-Rosière
+ name: Technical Presentation
partner_address_id: base.res_partner_address_1
- partner_id: base.res_partner_9
+ partner_id: base.main_partner
rrule_type: weekly
section_id: crm.section_sales_department
- |
@@ -77,11 +77,9 @@
I can invite internal user.
-
!record {model: base_calendar.invite.attendee, id: base_calendar_invite_attendee_0}:
- type: internal
partner_id: base.res_partner_9
- user_ids:
- - base.user_demo
-- |
+ type: email
+ email: noemail@openerp.com- |
If I set Send mail boolean as True I can see that an email is send to
specified email address with proper meeting information.
-
diff --git a/addons/crm/wizard/crm_forward_to_partner.py b/addons/crm/wizard/crm_forward_to_partner.py
index 156ab3311f4..945066506d7 100644
--- a/addons/crm/wizard/crm_forward_to_partner.py
+++ b/addons/crm/wizard/crm_forward_to_partner.py
@@ -107,8 +107,8 @@ class crm_lead_forward_to_partner(osv.osv_memory):
#TODO: ids and context are not comming
res = False
msg_val = ''
- res_id = False # Comes from context
- model = None # Comes from context
+ res_id = context.get('active_id')
+ model = context.get('active_model')
model_pool = self.pool.get(model)
if not res_id or not model:
return res
diff --git a/addons/crm/wizard/crm_forward_to_partner_view.xml b/addons/crm/wizard/crm_forward_to_partner_view.xml
index 1e8c6fc8583..b6295cfa3a9 100644
--- a/addons/crm/wizard/crm_forward_to_partner_view.xml
+++ b/addons/crm/wizard/crm_forward_to_partner_view.xml
@@ -9,7 +9,7 @@
diff --git a/addons/crm_vertical/i18n/et.po b/addons/crm_vertical/i18n/et.po
index 6cb97a11a69..2fc01790b28 100644
--- a/addons/crm_vertical/i18n/et.po
+++ b/addons/crm_vertical/i18n/et.po
@@ -7,16 +7,16 @@ 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-09-22 23:21+0000\n"
-"Last-Translator: Fabien (Open ERP) \n"
+"PO-Revision-Date: 2010-06-08 17:43+0000\n"
+"Last-Translator: lyyser \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-04-17 04:20+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: crm_vertical
#: model:ir.module.module,description:crm_vertical.module_meta_information
msgid "Simplification of the interface for CRM."
-msgstr ""
+msgstr "Kasutajaliidese lihtsustus KSH jaoks."
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml
index fd424ad7d52..d912534bbc2 100644
--- a/addons/document/document_view.xml
+++ b/addons/document/document_view.xml
@@ -193,10 +193,7 @@
-
-
-
@@ -219,7 +216,9 @@
-
+
+
+
@@ -234,22 +233,22 @@
search
-
-
-
-
+
-
+
@@ -265,6 +264,8 @@
+
+
diff --git a/addons/document/report/document_report_view.xml b/addons/document/report/document_report_view.xml
index 4afc66fb4d7..00743d768e7 100644
--- a/addons/document/report/document_report_view.xml
+++ b/addons/document/report/document_report_view.xml
@@ -41,8 +41,8 @@
-
-
+
+
diff --git a/addons/document/std_index.py b/addons/document/std_index.py
index 2f2f2094bc3..2facb14eeb3 100644
--- a/addons/document/std_index.py
+++ b/addons/document/std_index.py
@@ -19,10 +19,11 @@
#
##############################################################################
+from content_index import indexer, cntIndex
+from subprocess import Popen, PIPE
import StringIO
import odt2txt
-from subprocess import Popen, PIPE
-from content_index import indexer, cntIndex
+import sys, zipfile, xml.dom.minidom
def _to_unicode(s):
try:
@@ -36,6 +37,15 @@ def _to_unicode(s):
except UnicodeError:
return s
+def textToString(element) :
+ buffer = u""
+ for node in element.childNodes :
+ if node.nodeType == xml.dom.Node.TEXT_NODE :
+ buffer += node.nodeValue
+ elif node.nodeType == xml.dom.Node.ELEMENT_NODE :
+ buffer += textToString(node)
+ return buffer
+
class TxtIndex(indexer):
def _getMimeTypes(self):
return ['text/plain','text/html','text/diff','text/xml', 'text/*',
@@ -57,14 +67,23 @@ class PptxIndex(indexer):
return ['.pptx']
def _doIndexFile(self,fname):
- # pptx2txt.pl package not support in windows platform.
- # Download pptx2txt package from http://sourceforge.net/projects/pptx2txt/" link.
- # To install this tool, just copy pptx2txt.pl to appropriate place (e.g. /usr/bin directory)
- fp = Popen(['pptx2txt.pl', fname], shell=False, stdout=PIPE).stdout
- fp.read()
- file_obj = open(str(fname + ".txt"), "r")
- data = file_obj.read()
- return _to_unicode(data)
+ def toString () :
+ """ Converts the document to a string. """
+ buffer = u""
+ for val in ["a:t"]:
+ for paragraph in content.getElementsByTagName(val) :
+ buffer += textToString(paragraph) + "\n"
+ return buffer
+
+ data = []
+ zip = zipfile.ZipFile(fname)
+ files = filter(lambda x: x.startswith('ppt/slides/slide'), zip.namelist())
+ for i in range(1, len(files) + 1):
+ content = xml.dom.minidom.parseString(zip.read('ppt/slides/slide%s.xml' % str(i)))
+ res = toString().encode('ascii','replace')
+ data.append(res)
+
+ return _to_unicode('\n'.join(data))
cntIndex.register(PptxIndex())
@@ -76,33 +95,60 @@ class DocIndex(indexer):
return ['.doc']
def _doIndexFile(self,fname):
- fp = Popen(['antiword', fname], shell=False, stdout=PIPE).stdout
- return _to_unicode( fp.read())
+ #fp = Popen(['antiword', fname], shell=False, stdout=PIPE).stdout
+ return _to_unicode( 'None')
cntIndex.register(DocIndex())
class DocxIndex(indexer):
def _getMimeTypes(self):
return [ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document']
-
+
def _getExtensions(self):
return ['.docx']
def _doIndexFile(self,fname):
- # docx2txt.pl package not support in windows platform.
- # Download docx2txt package from "http://sourceforge.net/projects/docx2txt/" link.
- # In case, you don't want to use Makefile for installation, you can follow these steps for manual installation.
- # Copy docx2txt.pl, docx2txt.sh and docx2txt.config to appropriate place (e.g. /usr/bin directory) . used following command.
- # --> cp docx2txt.pl docx2txt.sh docx2txt.config /usr/bin/
+ zip = zipfile.ZipFile(fname)
+ content = xml.dom.minidom.parseString(zip.read("word/document.xml"))
+ def toString () :
+ """ Converts the document to a string. """
+ buffer = u""
+ for val in ["w:p", "w:h", "text:list"]:
+ for paragraph in content.getElementsByTagName(val) :
+ buffer += textToString(paragraph) + "\n"
+ return buffer
- fp = Popen(['docx2txt.pl', fname], shell=False, stdout=PIPE).stdout
- fp.read()
- file_obj = open(str(fname + ".txt"), "r")
- data = file_obj.read()
- return _to_unicode(data)
+ res = toString().encode('ascii','replace')
+
+ return _to_unicode(res)
cntIndex.register(DocxIndex())
+
+class XlsxIndex(indexer):
+ def _getMimeTypes(self):
+ return [ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']
+
+ def _getExtensions(self):
+ return ['.xlsx']
+
+ def _doIndexFile(self,fname):
+ zip = zipfile.ZipFile(fname)
+ content = xml.dom.minidom.parseString(zip.read("xl/sharedStrings.xml"))
+ def toString () :
+ """ Converts the document to a string. """
+ buffer = u""
+ for val in ["t"]:
+ for paragraph in content.getElementsByTagName(val) :
+ buffer += textToString(paragraph) + "\n"
+ return buffer
+
+ res = toString().encode('ascii','replace')
+
+ return _to_unicode(res)
+
+cntIndex.register(XlsxIndex())
+
class PdfIndex(indexer):
def _getMimeTypes(self):
return [ 'application/pdf']
diff --git a/addons/document_ics/i18n/et.po b/addons/document_ics/i18n/et.po
index 79dbad26d26..aa769e50473 100644
--- a/addons/document_ics/i18n/et.po
+++ b/addons/document_ics/i18n/et.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-09-16 15:43+0000\n"
-"Last-Translator: Fabien (Open ERP) \n"
+"PO-Revision-Date: 2010-06-08 17:44+0000\n"
+"Last-Translator: lyyser \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-04-17 04:18+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: document_ics
@@ -36,7 +36,7 @@ msgstr "Viga! Sa ei saa luua regrussiivseid kaustu."
#. module: document_ics
#: field:document.ics.crm.wizard,jobs:0
msgid "Jobs Hiring Process"
-msgstr ""
+msgstr "Töökohad Töölevõtmise Protsess"
#. module: document_ics
#: view:document.ics.crm.wizard:0
@@ -122,7 +122,7 @@ msgstr "Seadista kalendrid sektsioonide jaoks "
#. module: document_ics
#: help:document.ics.crm.wizard,opportunity:0
msgid "Tracks identified business opportunities for your sales pipeline."
-msgstr ""
+msgstr "Jälgib tuvastatud ärivõimalusi sinu müükide konveierile."
#. module: document_ics
#: help:document.ics.crm.wizard,fund:0
@@ -209,6 +209,8 @@ msgid ""
"Manages the supplier and customers claims, including your corrective or "
"preventive actions."
msgstr ""
+"Haldab tarnijate ja klientide nõudeid, sealjuures sinu korrigeerivaid ja "
+"vältivaid tegevusi."
#. module: document_ics
#: selection:document.directory.ics.fields,name:0
@@ -241,6 +243,8 @@ msgid ""
"Help you to encode the result of a phone call or to planify a list of phone "
"calls to process."
msgstr ""
+"Aitab sul arvutada telefonikõne tulemust või planeerida nimekirja "
+"telefonikõnedest töötlemiseks."
#. module: document_ics
#: selection:document.directory.ics.fields,name:0
@@ -315,7 +319,7 @@ msgstr "Tühista"
#. module: document_ics
#: field:document.ics.crm.wizard,opportunity:0
msgid "Business Opportunities"
-msgstr ""
+msgstr "Äri võimalused"
#. module: document_ics
#: selection:document.directory.ics.fields,name:0
diff --git a/addons/document_webdav/webdav.py b/addons/document_webdav/webdav.py
index b69c21d62ee..b9b1a1f8a65 100644
--- a/addons/document_webdav/webdav.py
+++ b/addons/document_webdav/webdav.py
@@ -23,8 +23,12 @@ import xml.dom.minidom
domimpl = xml.dom.minidom.getDOMImplementation()
import urlparse
import urllib
-from DAV import utils
-from DAV.propfind import PROPFIND
+try:
+ from DAV import utils
+ from DAV.propfind import PROPFIND
+except ImportError:
+ raise osv.except_osv('PyWebDAV Import Error!','Please install pywebdav \
+ from http://pywebdav.googlecode.com/files/PyWebDAV-0.9.3.tar.gz/')
import tools
diff --git a/addons/email_template/email_template_account_view.xml b/addons/email_template/email_template_account_view.xml
index 5f11fa033f4..573b03e7027 100755
--- a/addons/email_template/email_template_account_view.xml
+++ b/addons/email_template/email_template_account_view.xml
@@ -1,10 +1,10 @@
-
+
-
+
email_template.account.form
email_template.account
@@ -74,12 +74,12 @@
search
-
-
-
+
+
+
-
-
+
+
diff --git a/addons/email_template/email_template_mailbox_view.xml b/addons/email_template/email_template_mailbox_view.xml
index e6ff86d1087..f94fa886ee6 100755
--- a/addons/email_template/email_template_mailbox_view.xml
+++ b/addons/email_template/email_template_mailbox_view.xml
@@ -129,14 +129,14 @@
search
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml
index 8bc1712dbf9..a238f637dad 100644
--- a/addons/event/event_view.xml
+++ b/addons/event/event_view.xml
@@ -127,8 +127,8 @@
-
-
+
+
@@ -282,8 +282,8 @@
-
-
+
+
diff --git a/addons/event/i18n/et.po b/addons/event/i18n/et.po
index 90fba2749fb..678759f8938 100644
--- a/addons/event/i18n/et.po
+++ b/addons/event/i18n/et.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: 2010-05-13 08:53+0000\n"
+"PO-Revision-Date: 2010-06-08 17:51+0000\n"
"Last-Translator: lyyser \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-05-14 04:55+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: event
@@ -60,7 +60,7 @@ msgstr "Sündmuse registreerimine"
#. module: event
#: model:ir.actions.wizard,name:event.event_reg_invoice
msgid "Make Invoice"
-msgstr ""
+msgstr "Loo arve"
#. module: event
#: field:report.event.type.registration,draft_state:0
@@ -145,7 +145,7 @@ msgstr "Registreerimine"
#: field:event.type,name:0
#: model:ir.model,name:event.model_event_type
msgid "Event type"
-msgstr ""
+msgstr "Sündmuse liik"
#. module: event
#: view:event.event:0
@@ -153,34 +153,34 @@ msgstr ""
#: model:ir.module.module,shortdesc:event.module_meta_information
#: field:report.event.registration,name:0
msgid "Event"
-msgstr ""
+msgstr "Sündmus"
#. module: event
#: selection:event.event,state:0
msgid "Confirmed"
-msgstr ""
+msgstr "Kinnitatud"
#. module: event
#: wizard_view:event.confirm_registration,split:0
msgid "Registration Confirmation"
-msgstr ""
+msgstr "Registreerimise kinnitus"
#. module: event
#: view:event.registration:0
msgid "Dates"
-msgstr ""
+msgstr "Kuupäevad"
#. module: event
#: field:event.event,register_current:0
#: model:ir.actions.act_window,name:event.action_registration_confirm
#: model:ir.ui.menu,name:event.menu_action_registration_confirm
msgid "Confirmed Registrations"
-msgstr ""
+msgstr "Kinnitatud registreerimised"
#. module: event
#: field:event.event,mail_auto_registr:0
msgid "Mail Auto Register"
-msgstr ""
+msgstr "Autoregistreerimise mail"
#. module: event
#: view:event.registration:0
@@ -190,12 +190,12 @@ msgstr "Tunnusmärk"
#. module: event
#: field:event.event,section_id:0
msgid "Case section"
-msgstr ""
+msgstr "Juhtumi jaotis"
#. module: event
#: field:event.registration,tobe_invoiced:0
msgid "To be Invoiced"
-msgstr ""
+msgstr "Tehakse arve"
#. module: event
#: model:ir.ui.menu,name:event.menu_event_event
@@ -220,7 +220,7 @@ msgstr "Sündmused kategooria järgi"
#. module: event
#: wizard_view:event.confirm_registration,split:0
msgid "The event limit is reached. What do you want to do?"
-msgstr ""
+msgstr "Sündmuste limiidipiir on saavutatud. Mida sa soovid teha?"
#. module: event
#: field:report.event.type.registration,confirm_state:0
@@ -237,7 +237,7 @@ msgstr "Viited"
#: model:ir.ui.menu,name:event.menu_report_event_type_registration
#: view:report.event.type.registration:0
msgid "Registration By Event Types"
-msgstr ""
+msgstr "Registreerimine sündmuse liigijärgi"
#. module: event
#: model:ir.ui.menu,name:event.menu_event_config
@@ -262,12 +262,12 @@ msgstr "Viga: TÜ kategooria peab erinema MÜ kategooriast"
#. module: event
#: view:event.event:0
msgid "Parent Category"
-msgstr ""
+msgstr "Peaktegooria"
#. module: event
#: view:event.registration:0
msgid "Registration Invoiced"
-msgstr ""
+msgstr "Registreerimine arveks tehtud"
#. module: event
#: field:report.event.type.registration,nbevent:0
@@ -277,7 +277,7 @@ msgstr "Sündmuste arv"
#. module: event
#: view:event.event:0
msgid "Cancel Event"
-msgstr ""
+msgstr "Loobu sündmusest"
#. module: event
#: wizard_field:event.reg_make_invoice,init,inv_rej_reason:0
@@ -287,12 +287,12 @@ msgstr "Veateated"
#. module: event
#: view:event.event:0
msgid "Mailing"
-msgstr ""
+msgstr "Postitan"
#. module: event
#: model:product.template,name:event.event_product_0_product_template
msgid "Ticket for Concert"
-msgstr ""
+msgstr "Kontserdi pilet"
#. module: event
#: field:event.event,register_prospect:0
@@ -304,12 +304,12 @@ msgstr "Kinnitamatta registreerimised"
#. module: event
#: field:event.registration,partner_invoice_id:0
msgid "Partner Invoiced"
-msgstr ""
+msgstr "Partnerile arve tehtud"
#. module: event
#: view:event.registration:0
msgid "Communication history"
-msgstr ""
+msgstr "Kommunikatsiooni alalugu"
#. module: event
#: selection:event.event,state:0
@@ -319,18 +319,18 @@ msgstr "Katkestatud"
#. module: event
#: view:event.event:0
msgid "Event Done"
-msgstr ""
+msgstr "Sündmus valmis"
#. module: event
#: field:event.registration,badge_name:0
msgid "Badge Name"
-msgstr ""
+msgstr "Embleemi nimi"
#. module: event
#: model:ir.actions.act_window,name:event.action_event_registration
#: model:ir.ui.menu,name:event.menu_report_event_registration
msgid "Events On Registrations"
-msgstr ""
+msgstr "Registreerimiste sündmused"
#. module: event
#: constraint:product.template:0
@@ -342,27 +342,27 @@ msgstr ""
#. module: event
#: wizard_field:event.reg_make_invoice,init,inv_created:0
msgid "Invoice Created"
-msgstr ""
+msgstr "Arve loodud"
#. module: event
#: view:event.event:0
msgid "Statistics"
-msgstr ""
+msgstr "Statistika"
#. module: event
#: selection:event.event,state:0
msgid "Draft"
-msgstr ""
+msgstr "Mustand"
#. module: event
#: view:event.event:0
msgid "Event description"
-msgstr ""
+msgstr "Sündmuse kirjeldus"
#. module: event
#: model:ir.model,name:event.model_report_event_type_registration
msgid "Event type on registration"
-msgstr ""
+msgstr "Registreerimise sündmuse liik"
#. module: event
#: constraint:ir.model:0
@@ -374,7 +374,7 @@ msgstr ""
#. module: event
#: field:event.registration,event_id:0
msgid "Event Related"
-msgstr ""
+msgstr "Seotud sündmus"
#. module: event
#: model:crm.case.section,name:event.case_section_event
@@ -386,167 +386,169 @@ msgstr "Sündmused"
#. module: event
#: field:event.registration,nb_register:0
msgid "Number of Registration"
-msgstr ""
+msgstr "Registreerimiste arv"
#. module: event
#: view:event.event:0
#: field:event.event,state:0
#: view:event.registration:0
msgid "Status"
-msgstr ""
+msgstr "Olek"
#. module: event
#: model:ir.actions.act_window,name:event.action_event_categories
msgid "Events by section"
-msgstr ""
+msgstr "Sündmused sektsioonijärgi"
#. module: event
#: model:ir.ui.menu,name:event.menu_action_registration
msgid "All Registrations"
-msgstr ""
+msgstr "Kõik registreerimised"
#. module: event
#: help:event.event,mail_auto_registr:0
msgid ""
"Check this box if you want to use the automatic mailing for new registration"
msgstr ""
+"Märgi see kast, kui sa tahad kasutada automaatset kirja saatmist uuel "
+"registreerimisel"
#. module: event
#: view:event.event:0
msgid "Set To Draft"
-msgstr ""
+msgstr "Sea mustandiks"
#. module: event
#: view:event.registration:0
#: model:ir.actions.wizard,name:event.event_confirm_registration
#: field:report.event.registration,confirm_state:0
msgid "Confirm Registration"
-msgstr ""
+msgstr "Kinnita registreerimine"
#. module: event
#: view:event.registration:0
msgid "History"
-msgstr ""
+msgstr "Ajalugu"
#. module: event
#: model:ir.ui.menu,name:event.menu_event_type
msgid "Types of Events"
-msgstr ""
+msgstr "Sündmuste liigid"
#. module: event
#: field:event.registration,contact_id:0
msgid "Partner Contact"
-msgstr ""
+msgstr "Partneri kontakt"
#. module: event
#: view:event.event:0
msgid "Auto Confirmation Email"
-msgstr ""
+msgstr "Automaatne kinnitamise e-kiri"
#. module: event
#: view:event.event:0
#: view:event.registration:0
msgid "General"
-msgstr ""
+msgstr "Üldine"
#. module: event
#: view:event.registration:0
msgid "Send Reminder"
-msgstr ""
+msgstr "Saada meeldetuletus"
#. module: event
#: selection:event.event,state:0
msgid "Done"
-msgstr ""
+msgstr "Valmis"
#. module: event
#: field:event.event,date_begin:0
#: field:report.event.registration,date_begin:0
msgid "Beginning date"
-msgstr ""
+msgstr "Alguskuupäev"
#. module: event
#: field:event.registration,invoice_id:0
msgid "Invoice"
-msgstr ""
+msgstr "Arve"
#. module: event
#: model:ir.model,name:event.model_report_event_registration
msgid "Events on registrations"
-msgstr ""
+msgstr "Sündmused registreerimisel"
#. module: event
#: wizard_button:event.confirm_registration,split,end:0
msgid "Cancel"
-msgstr ""
+msgstr "Katkesta"
#. module: event
#: wizard_button:event.reg_make_invoice,init,open:0
msgid "Open"
-msgstr ""
+msgstr "Ava"
#. module: event
#: field:event.registration,badge_title:0
msgid "Badge Title"
-msgstr ""
+msgstr "Embleemi pealkiri"
#. module: event
#: model:ir.actions.act_window,name:event.action_new_event_form
#: model:ir.ui.menu,name:event.menu_event_new_event
msgid "New event"
-msgstr ""
+msgstr "Uus sündmus"
#. module: event
#: field:event.registration,unit_price:0
msgid "Unit Price"
-msgstr ""
+msgstr "Ühiku hind"
#. module: event
#: model:crm.case.section,name:event.event_2_crm_case_section
msgid "Conference on ERP Buisness"
-msgstr ""
+msgstr "ERP äri konverents"
#. module: event
#: field:event.registration,badge_partner:0
msgid "Badge Partner"
-msgstr ""
+msgstr "Partneri embleem"
#. module: event
#: model:ir.actions.act_window,name:event.action_event_view_confirm
#: model:ir.ui.menu,name:event.menu_event_event_confirm
msgid "Confirmed Events"
-msgstr ""
+msgstr "Kinnitatud sündmused"
#. module: event
#: field:event.event,register_max:0
#: field:report.event.registration,register_max:0
msgid "Maximum Registrations"
-msgstr ""
+msgstr "Maks. registreerimised"
#. module: event
#: field:event.event,type:0
msgid "Type"
-msgstr ""
+msgstr "Tüüp"
#. module: event
#: help:event.event,mail_registr:0
msgid "This email will be sent when someone subscribes to the event."
-msgstr ""
+msgstr "See e-kiri saadetakse, kui keegi ühineb sündmusega."
#. module: event
#: model:product.template,name:event.event_product_2_product_template
msgid "Ticket for Conference"
-msgstr ""
+msgstr "Pilet konverentsile"
#. module: event
#: field:event.registration,case_id:0
msgid "Case"
-msgstr ""
+msgstr "Juhtum"
#. module: event
#: view:event.event:0
msgid "Name"
-msgstr ""
+msgstr "Nimi"
#. module: event
#: help:event.event,mail_auto_confirm:0
@@ -554,6 +556,8 @@ msgid ""
"Check this box if you want ot use the automatic confirmation emailing or the "
"reminder"
msgstr ""
+"Märgi see kast, kui sa tahad automaatset kinnitamise või meeldetuletuse "
+"kirja saatmist."
#. module: event
#: help:event.event,mail_confirm:0
@@ -562,55 +566,57 @@ msgid ""
"subscribes to a confirmed event. This is also the email sent to remind "
"someone about the event."
msgstr ""
+"See e-kiri saadetakse, kui sündmus kinnitatakse või keegi ühineb kinnitatud "
+"sündmusega. See on ka kiri, mis saaadetakse sündmuse meelde tuletuseks."
#. module: event
#: field:event.event,product_id:0
msgid "Product"
-msgstr ""
+msgstr "Toode"
#. module: event
#: field:event.registration,invoice_label:0
msgid "Label Invoice"
-msgstr ""
+msgstr "Märgista arve"
#. module: event
#: view:event.registration:0
msgid "Payments"
-msgstr ""
+msgstr "Maksed"
#. module: event
#: view:event.type:0
#: field:report.event.type.registration,name:0
msgid "Event Type"
-msgstr ""
+msgstr "Sündmuse tüüp"
#. module: event
#: view:event.event:0
#: model:ir.actions.act_window,name:event.action_registration
#: model:ir.actions.wizard,name:event.wizard_event_registration
msgid "Registrations"
-msgstr ""
+msgstr "Registreerimised"
#. module: event
#: model:ir.actions.act_window,name:event.action_event_view_draft
#: model:ir.ui.menu,name:event.menu_event_event_draft
msgid "Draft Events"
-msgstr ""
+msgstr "Sündmuste mustandid"
#. module: event
#: model:ir.ui.menu,name:event.menu_event_main
msgid "Events Organisation"
-msgstr ""
+msgstr "Sündmuste organiseerimine"
#. module: event
#: view:event.registration:0
msgid "Actions"
-msgstr ""
+msgstr "Toimingud"
#. module: event
#: model:ir.actions.wizard,name:event.wizard_event_reg_partners
msgid "List Register Partners"
-msgstr ""
+msgstr "Registreeritud partnerite nimekiri"
#. module: event
#: constraint:product.product:0
@@ -620,4 +626,4 @@ msgstr "Viga: Vigane EAN kood"
#. module: event
#: view:event.event:0
msgid "Auto Registration Email"
-msgstr ""
+msgstr "Automaatne registreerimise e-kiri"
diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml
index 36524395355..75da20cef20 100644
--- a/addons/hr/hr_view.xml
+++ b/addons/hr/hr_view.xml
@@ -106,7 +106,7 @@
search
-
@@ -114,12 +114,12 @@
-
-
-
+
+
+
-
-
+
+
@@ -358,15 +358,15 @@
search
-
-
-
@@ -374,7 +374,7 @@
-
diff --git a/addons/hr/i18n/hr.po b/addons/hr/i18n/hr.po
index 28004486e04..b6e0d22d239 100644
--- a/addons/hr/i18n/hr.po
+++ b/addons/hr/i18n/hr.po
@@ -1,162 +1,163 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
-# * hr
-#
+# * hr
+# Drazen Bosak , 2010.
msgid ""
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-06-07 21:48+0000\n"
+"Last-Translator: Drazen Bosak \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-04-17 04:16+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
+"Language: hr\n"
#. module: hr
#: model:process.node,name:hr.process_node_openerpuser0
#: model:process.transition,name:hr.process_transition_employeeuser0
msgid "Openerp user"
-msgstr ""
+msgstr "OpenERP korisnik"
#. module: hr
#: model:ir.actions.act_window,name:hr.edit_workgroup
#: model:ir.ui.menu,name:hr.menu_edit_workgroup
msgid "Working Time Categories"
-msgstr ""
+msgstr "Kategorije radnog vremena"
#. module: hr
#: constraint:hr.department:0
msgid "Error! You can not create recursive departments."
-msgstr ""
+msgstr "Greška! Ne možete kreirati rekurzivne odjele!"
#. module: hr
#: field:hr.employee,sinid:0
msgid "SIN No"
-msgstr ""
+msgstr "SIN No"
#. module: hr
#: model:ir.module.module,shortdesc:hr.module_meta_information
#: model:ir.ui.menu,name:hr.menu_hr_root
msgid "Human Resources"
-msgstr ""
+msgstr "Ljudski Resursi"
#. module: hr
#: selection:hr.timesheet,dayofweek:0
msgid "Sunday"
-msgstr ""
+msgstr "Nedjelja"
#. module: hr
#: view:res.users:0
msgid "Parents"
-msgstr ""
+msgstr "Roditelji"
#. module: hr
#: constraint:ir.actions.act_window:0
msgid "Invalid model name in the action definition."
-msgstr ""
+msgstr "Nepravilno ime modela u definiciji radnje."
#. module: hr
#: view:hr.department:0
msgid "Department"
-msgstr ""
+msgstr "Odjel"
#. module: hr
#: model:process.transition,name:hr.process_transition_contactofemployee0
msgid "Contact of employee"
-msgstr ""
+msgstr "Kontakt Djelatnika"
#. module: hr
#: field:hr.employee,work_email:0
msgid "Work Email"
-msgstr ""
+msgstr "Poslovni Email"
#. module: hr
#: field:hr.timesheet.group,name:0
msgid "Group name"
-msgstr ""
+msgstr "Ime Grupe"
#. module: hr
#: field:hr.department,company_id:0
#: field:hr.employee,company_id:0
msgid "Company"
-msgstr ""
+msgstr "Tvrtka"
#. module: hr
#: selection:hr.timesheet,dayofweek:0
msgid "Friday"
-msgstr ""
+msgstr "Petak"
#. module: hr
#: field:hr.department,parent_id:0
msgid "Parent Department"
-msgstr ""
+msgstr "Ishodni Odjel"
#. module: hr
#: view:hr.department:0
#: view:hr.employee:0
#: field:hr.employee,notes:0
msgid "Notes"
-msgstr ""
+msgstr "Bilješke"
#. module: hr
#: field:hr.timesheet,hour_from:0
msgid "Work from"
-msgstr ""
+msgstr "Posao od"
#. module: hr
#: model:ir.actions.act_window,name:hr.action2
msgid "Employee Hierarchy"
-msgstr ""
+msgstr "Hijerarhija Djelatnika"
#. module: hr
#: model:ir.ui.menu,name:hr.menu_hr_configuration
msgid "Configuration"
-msgstr ""
+msgstr "Konfiguracija"
#. module: hr
#: selection:hr.employee,marital:0
msgid "Unmaried"
-msgstr ""
+msgstr "Nije u braku"
#. module: hr
#: selection:hr.employee,gender:0
msgid "Female"
-msgstr ""
+msgstr "Žensko"
#. module: hr
#: view:hr.timesheet.group:0
msgid "Working Time Category"
-msgstr ""
+msgstr "Kategorija radnog vremena"
#. module: hr
#: model:ir.actions.act_window,name:hr.open_view_employee_tree
#: model:ir.ui.menu,name:hr.menu_open_view_employee_tree
msgid "Employees Structure"
-msgstr ""
+msgstr "Struktura Djelatnika"
#. module: hr
#: view:hr.employee:0
msgid "Social IDs"
-msgstr ""
+msgstr "Osobni ID brojevi"
#. module: hr
#: field:hr.employee,work_phone:0
msgid "Work Phone"
-msgstr ""
+msgstr "Poslovni telefon"
#. module: hr
#: field:hr.employee.category,child_ids:0
msgid "Child Categories"
-msgstr ""
+msgstr "Slijedne Kategorije"
#. module: hr
#: field:hr.employee,work_location:0
msgid "Office Location"
-msgstr ""
+msgstr "Lokacija ureda"
#. module: hr
#: view:hr.employee:0
@@ -164,52 +165,52 @@ msgstr ""
#: model:ir.model,name:hr.model_hr_employee
#: model:process.node,name:hr.process_node_employee0
msgid "Employee"
-msgstr ""
+msgstr "Djelatnik"
#. module: hr
#: field:hr.timesheet.group,manager:0
msgid "Workgroup manager"
-msgstr ""
+msgstr "Voditelj Radne Grupe"
#. module: hr
#: field:hr.employee,child_ids:0
msgid "Subordinates"
-msgstr ""
+msgstr "Podređeni Djelatnici"
#. module: hr
#: model:ir.ui.menu,name:hr.menu_hr_reporting
msgid "Reporting"
-msgstr ""
+msgstr "Izvještavanje"
#. module: hr
#: field:hr.department,member_ids:0
msgid "Members"
-msgstr ""
+msgstr "Članovi"
#. module: hr
#: field:hr.employee,ssnid:0
msgid "SSN No"
-msgstr ""
+msgstr "SSN No"
#. module: hr
#: model:process.transition,note:hr.process_transition_contactofemployee0
msgid "Fill up contact information"
-msgstr ""
+msgstr "Ispunite kontakt podatke"
#. module: hr
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
-msgstr ""
+msgstr "Neispravan XML za Arhitekturu Prikaza!"
#. module: hr
#: selection:hr.employee,marital:0
msgid "Divorced"
-msgstr ""
+msgstr "Razveden-a"
#. module: hr
#: field:hr.employee.category,parent_id:0
msgid "Parent Category"
-msgstr ""
+msgstr "Ishodna Kategorija"
#. module: hr
#: model:ir.actions.act_window,name:hr.open_module_tree_department
@@ -217,276 +218,277 @@ msgstr ""
#: model:ir.ui.menu,name:hr.menu_department_def
#: model:ir.ui.menu,name:hr.menu_department_tree
msgid "Departments"
-msgstr ""
+msgstr "Odjeli"
#. module: hr
#: model:process.node,name:hr.process_node_employeecontact0
msgid "Employee Contact"
-msgstr ""
+msgstr "Kontakt Djelatnika"
#. module: hr
#: selection:hr.employee,marital:0
msgid "Maried"
-msgstr ""
+msgstr "U braku"
#. module: hr
#: field:hr.timesheet,tgroup_id:0
msgid "Employee's timesheet group"
-msgstr ""
+msgstr "Grupa kontrolnih kartica Djelatnika"
#. module: hr
#: selection:hr.employee,gender:0
msgid "Male"
-msgstr ""
+msgstr "Muško"
#. module: hr
#: model:process.transition,note:hr.process_transition_employeeuser0
msgid "Create openerp user"
-msgstr ""
+msgstr "Kreiraj OpenERP Korisnika"
#. module: hr
#: view:hr.employee.category:0
#: model:ir.model,name:hr.model_hr_employee_category
msgid "Employee Category"
-msgstr ""
+msgstr "Kategorija Djelatnika"
#. module: hr
#: selection:hr.timesheet,dayofweek:0
msgid "Tuesday"
-msgstr ""
+msgstr "Utorak"
#. module: hr
#: model:ir.model,name:hr.model_hr_department
msgid "hr.department"
-msgstr ""
+msgstr "Odjel Ljudskih Resursa"
#. module: hr
#: field:hr.employee,user_id:0
msgid "Related User"
-msgstr ""
+msgstr "Povezani Korisnik"
#. module: hr
#: field:hr.employee,category_id:0
#: field:hr.employee.category,name:0
msgid "Category"
-msgstr ""
+msgstr "Kategorija"
#. module: hr
#: field:hr.department,note:0
msgid "Note"
-msgstr ""
+msgstr "Bilješka"
#. module: hr
#: view:hr.employee:0
msgid "Contact Information"
-msgstr ""
+msgstr "Kontakt podaci"
#. module: hr
#: view:hr.employee:0
msgid "Status"
-msgstr ""
+msgstr "Status"
#. module: hr
#: selection:hr.timesheet,dayofweek:0
msgid "Monday"
-msgstr ""
+msgstr "Ponedjeljak"
#. module: hr
#: model:ir.actions.act_window,name:hr.open_view_categ_tree
#: model:ir.ui.menu,name:hr.menu_view_employee_category_tree
msgid "Categories structure"
-msgstr ""
+msgstr "Struktura Kategorija"
#. module: hr
#: field:hr.timesheet,dayofweek:0
msgid "Day of week"
-msgstr ""
+msgstr "Dan u tjednu"
#. module: hr
#: field:hr.employee,birthday:0
msgid "Birthday"
-msgstr ""
+msgstr "Rođendan"
#. module: hr
#: field:hr.employee,active:0
msgid "Active"
-msgstr ""
+msgstr "Aktivan"
#. module: hr
#: constraint:hr.employee:0
msgid "Error ! You cannot create recursive Hierarchy of Employees."
-msgstr ""
+msgstr "Greška! Ne možete kreirati rekurzivnu Hijerarhiju Djelatnika"
#. module: hr
#: model:process.process,name:hr.process_process_employeecontractprocess0
msgid "Employee Contract Process"
-msgstr ""
+msgstr "Proces rada s Ugovorom Djelatnika"
#. module: hr
#: model:process.node,note:hr.process_node_openerpuser0
msgid "Create OpenERP User"
-msgstr ""
+msgstr "Kreiraj OpenERP Korisnika"
#. module: hr
#: model:process.node,note:hr.process_node_employee0
msgid "Employee Complete Form"
-msgstr ""
+msgstr "Cjelovit formular Djelatnika"
#. module: hr
#: view:hr.department:0
msgid "Companies"
-msgstr ""
+msgstr "Tvrtke"
#. module: hr
#: selection:hr.timesheet,dayofweek:0
msgid "Wednesday"
-msgstr ""
+msgstr "Srijeda"
#. module: hr
#: model:ir.actions.act_window,name:hr.open_view_categ_form
#: model:ir.ui.menu,name:hr.menu_view_employee_category_form
msgid "Categories of Employee"
-msgstr ""
+msgstr "Kategorije djelatnika"
#. module: hr
#: field:hr.timesheet,date_from:0
msgid "Starting date"
-msgstr ""
+msgstr "Početni datum"
#. module: hr
#: field:res.users,parent_id:0
msgid "Parent Users"
-msgstr ""
+msgstr "Ishodni korisnici"
#. module: hr
#: field:hr.employee,address_id:0
msgid "Working Address"
-msgstr ""
+msgstr "Poslovna adresa"
#. module: hr
#: field:hr.employee,marital:0
msgid "Marital Status"
-msgstr ""
+msgstr "Bračni status"
#. module: hr
#: model:ir.model,name:hr.model_hr_timesheet
msgid "Timesheet Line"
-msgstr ""
+msgstr "Niz Kontrolne kartice"
#. module: hr
#: view:hr.employee:0
msgid "Personal Information"
-msgstr ""
+msgstr "Osobni podaci"
#. module: hr
#: constraint:ir.model:0
msgid ""
"The Object name must start with x_ and not contain any special character !"
msgstr ""
+"Naziv Objekta mora početi s x_ i ne smije sadržavati bilo koji posebni znak !"
#. module: hr
#: view:hr.timesheet:0
#: field:hr.timesheet.group,timesheet_id:0
#: model:ir.model,name:hr.model_hr_timesheet_group
msgid "Working Time"
-msgstr ""
+msgstr "Radno vrijeme"
#. module: hr
#: selection:hr.timesheet,dayofweek:0
msgid "Thursday"
-msgstr ""
+msgstr "Četvrtak"
#. module: hr
#: field:hr.timesheet,hour_to:0
msgid "Work to"
-msgstr ""
+msgstr "Rad do"
#. module: hr
#: selection:hr.employee,marital:0
msgid "Other"
-msgstr ""
+msgstr "Drugi"
#. module: hr
#: view:hr.employee.category:0
msgid "Employees Categories"
-msgstr ""
+msgstr "Kategorije Djelatnika"
#. module: hr
#: field:hr.employee,address_home_id:0
msgid "Home Address"
-msgstr ""
+msgstr "Kućna adresa"
#. module: hr
#: view:hr.department:0
msgid "department"
-msgstr ""
+msgstr "Odjel"
#. module: hr
#: field:hr.employee,country_id:0
msgid "Nationality"
-msgstr ""
+msgstr "Narodnost"
#. module: hr
#: field:hr.employee,otherid:0
msgid "Other ID"
-msgstr ""
+msgstr "Drugi ID broj"
#. module: hr
#: field:hr.timesheet,name:0
msgid "Name"
-msgstr ""
+msgstr "Ime"
#. module: hr
#: field:hr.employee,gender:0
msgid "Gender"
-msgstr ""
+msgstr "Spol"
#. module: hr
#: view:hr.employee:0
#: model:ir.actions.act_window,name:hr.open_view_employee_list
#: model:ir.ui.menu,name:hr.menu_open_view_employee_list
msgid "Employees"
-msgstr ""
+msgstr "Djelatnici"
#. module: hr
#: field:hr.department,name:0
msgid "Department Name"
-msgstr ""
+msgstr "Ime Odjela"
#. module: hr
#: field:hr.department,child_ids:0
msgid "Child Departments"
-msgstr ""
+msgstr "Slijedni Odjeli"
#. module: hr
#: view:hr.employee:0
msgid "Job Information"
-msgstr ""
+msgstr "Poslovni podaci"
#. module: hr
#: model:process.node,note:hr.process_node_employeecontact0
msgid "Fill up employee's contact information"
-msgstr ""
+msgstr "Ispunite kontakt podatke Djelatnika"
#. module: hr
#: field:hr.department,manager_id:0
#: field:hr.employee,parent_id:0
msgid "Manager"
-msgstr ""
+msgstr "Voditelj"
#. module: hr
#: model:ir.actions.act_window,name:hr.open_view_employee_list_my
#: model:ir.ui.menu,name:hr.menu_open_view_employee_list_my
msgid "All Employees"
-msgstr ""
+msgstr "Svi Djelatnici"
#. module: hr
#: selection:hr.timesheet,dayofweek:0
msgid "Saturday"
-msgstr ""
+msgstr "Subota"
#. module: hr
#: model:ir.actions.act_window,name:hr.open_view_employee_new
#: model:ir.ui.menu,name:hr.menu_open_view_employee_new
msgid "New Employee"
-msgstr ""
+msgstr "Novi Djelatnik"
diff --git a/addons/hr_attendance/hr_attendance_view.xml b/addons/hr_attendance/hr_attendance_view.xml
index 8b9a68575b0..e3db974ebb5 100644
--- a/addons/hr_attendance/hr_attendance_view.xml
+++ b/addons/hr_attendance/hr_attendance_view.xml
@@ -48,16 +48,16 @@
search
-
-
+
+
-
-
-
+
+
+
diff --git a/addons/hr_contract/hr_contract_view.xml b/addons/hr_contract/hr_contract_view.xml
index e4e8259bda4..84cc82ebe8b 100644
--- a/addons/hr_contract/hr_contract_view.xml
+++ b/addons/hr_contract/hr_contract_view.xml
@@ -146,8 +146,8 @@
-
-
+
+
diff --git a/addons/hr_evaluation/hr_evaluation_view.xml b/addons/hr_evaluation/hr_evaluation_view.xml
index d02c76bc44c..a3e4cac2a5f 100644
--- a/addons/hr_evaluation/hr_evaluation_view.xml
+++ b/addons/hr_evaluation/hr_evaluation_view.xml
@@ -13,8 +13,8 @@
-
-
+
+
@@ -243,15 +243,15 @@
-
-
-
+
+
+
-
-
@@ -261,12 +261,12 @@
-
-
-
-
+
+
+
+
-
+
@@ -344,10 +344,10 @@
-
+
-
+
diff --git a/addons/hr_evaluation/i18n/hr.po b/addons/hr_evaluation/i18n/hr.po
new file mode 100644
index 00000000000..46e439abb22
--- /dev/null
+++ b/addons/hr_evaluation/i18n/hr.po
@@ -0,0 +1,277 @@
+# Croatian 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-25 12:18+0000\n"
+"PO-Revision-Date: 2010-06-06 23:51+0000\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: Croatian
\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. module: hr_evaluation
+#: view:hr_evaluation.type:0
+#: field:hr_evaluation.type,info:0
+msgid "Information"
+msgstr ""
+
+#. module: hr_evaluation
+#: constraint:ir.model:0
+msgid ""
+"The Object name must start with x_ and not contain any special character !"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.evaluation:0
+msgid "Schedule next evaluation"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.evaluation:0
+#: field:hr_evaluation.evaluation,info_bad:0
+msgid "Bad Points"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.actions.act_window,name:hr_evaluation.open_view_employee_evaluation_next_my_list
+msgid "My Next Evaluation"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.type,value_ids:0
+msgid "Values"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.evaluation:0
+#: field:hr_evaluation.evaluation,info_good:0
+msgid "Good Points"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.evaluation,state:0
+msgid "State"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.evaluation,score:0
+#: field:hr_evaluation.quote,score:0
+#: field:hr_evaluation.type,score:0
+#: field:hr_evaluation.type.value,score:0
+msgid "Score"
+msgstr ""
+
+#. module: hr_evaluation
+#: selection:hr_evaluation.evaluation,state:0
+msgid "Draft"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.evaluation:0
+msgid "Informal Data"
+msgstr ""
+
+#. module: hr_evaluation
+#: constraint:ir.actions.act_window:0
+msgid "Invalid model name in the action definition."
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.evaluation,employee_id:0
+msgid "Employee"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.evaluation:0
+#: field:hr_evaluation.evaluation,info_improve:0
+msgid "To Improve"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.quote,evaluation_id:0
+msgid "Evaluation"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.type.value,type_id:0
+msgid "Evaluation Type"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.evaluation:0
+msgid "Status"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.type:0
+msgid "Apply to categories"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.module.module,description:hr_evaluation.module_meta_information
+msgid "Ability to create employees evaluation."
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.quote,name:0
+msgid "Quote"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.type,category_ids:0
+msgid "Appliable Role"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.evaluation,user_id:0
+msgid "Evaluation User"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.type:0
+msgid "Choices Results"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.evaluation,date:0
+msgid "Date"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.ui.menu,name:hr_evaluation.menu_eval_hr
+#: model:ir.ui.menu,name:hr_evaluation.menu_open_view_employee_evaluation_form
+msgid "Evaluations"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.ui.menu,name:hr_evaluation.menu_eval_config
+msgid "Configuration"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.ui.menu,name:hr_evaluation.menu_open_view_employee_evaluation_next_list
+msgid "Next Evaluations"
+msgstr ""
+
+#. module: hr_evaluation
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.ui.menu,name:hr_evaluation.menu_open_view_evaluation_type_form
+msgid "Evaluation Criterions"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.ui.menu,name:hr_evaluation.menu_open_view_employee_my_old_evaluation_list
+msgid "My Preceeding Evaluations"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.ui.menu,name:hr_evaluation.menu_resp_hr
+msgid "HR Responsible"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.quote,value_id:0
+#: field:hr_evaluation.type.value,name:0
+msgid "Value"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.evaluation,name:0
+msgid "Summary"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.type,active:0
+msgid "Active"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.type:0
+msgid "Notes"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.evaluation:0
+#: model:ir.model,name:hr_evaluation.model_hr_evaluation_evaluation
+msgid "Employee Evaluation"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.model,name:hr_evaluation.model_hr_evaluation_type
+msgid "Employee Evaluation Type"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.evaluation:0
+msgid "Quotations"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.actions.act_window,name:hr_evaluation.open_view_employee_evaluation_next_list
+msgid "Next Employee Evaluation"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.quote,type_id:0
+msgid "Type"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.type:0
+#: field:hr_evaluation.type,name:0
+msgid "Evaluation Criterion"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.ui.menu,name:hr_evaluation.menu_open_view_employee_evaluation_next_my_list
+msgid "My Next Evaluations"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.quote:0
+msgid "Evalution Quote"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.module.module,shortdesc:hr_evaluation.module_meta_information
+msgid "Human Resources Evaluation"
+msgstr ""
+
+#. module: hr_evaluation
+#: field:hr_evaluation.evaluation,quote_ids:0
+msgid "Quotes"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.evaluation:0
+#: selection:hr_evaluation.evaluation,state:0
+msgid "Done"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.model,name:hr_evaluation.model_hr_evaluation_quote
+msgid "Employee Evaluation Quote"
+msgstr ""
+
+#. module: hr_evaluation
+#: view:hr_evaluation.evaluation:0
+#: field:hr_evaluation.evaluation,info_employee:0
+msgid "Employee Response"
+msgstr ""
+
+#. module: hr_evaluation
+#: model:ir.model,name:hr_evaluation.model_hr_evaluation_type_value
+msgid "Evaluation Type Value"
+msgstr ""
diff --git a/addons/hr_evaluation/report/hr_evaluation_report_view.xml b/addons/hr_evaluation/report/hr_evaluation_report_view.xml
index 6ccd1e80ab9..5406a7a3fbd 100644
--- a/addons/hr_evaluation/report/hr_evaluation_report_view.xml
+++ b/addons/hr_evaluation/report/hr_evaluation_report_view.xml
@@ -42,32 +42,32 @@
-
-
-
-
@@ -75,16 +75,16 @@
-
-
-
+
+
+
-
-
+
+
-
-
-
+
+
+
diff --git a/addons/hr_expense/__openerp__.py b/addons/hr_expense/__openerp__.py
index 83113558c43..08103af1b68 100644
--- a/addons/hr_expense/__openerp__.py
+++ b/addons/hr_expense/__openerp__.py
@@ -40,7 +40,7 @@
""",
'author': 'Tiny',
'website': 'http://www.openerp.com',
- 'depends': ['hr', 'account', 'account_tax_include'],
+ 'depends': ['hr', 'account'],
'init_xml': [],
'update_xml': [
'security/ir.model.access.csv',
diff --git a/addons/hr_expense/hr_expense.py b/addons/hr_expense/hr_expense.py
index 820d3467660..e0d55bee5fe 100644
--- a/addons/hr_expense/hr_expense.py
+++ b/addons/hr_expense/hr_expense.py
@@ -153,7 +153,6 @@ class hr_expense_expense(osv.osv):
'address_contact_id': exp.employee_id.address_id.id,
'origin': exp.name,
'invoice_line': lines,
- 'price_type': 'tax_included',
'currency_id': exp.currency_id.id,
'payment_term': payment_term_id,
'fiscal_position': exp.employee_id.address_id.partner_id.property_account_position.id
diff --git a/addons/hr_expense/hr_expense_report.xml b/addons/hr_expense/hr_expense_report.xml
index bad8e790801..9d5f0c3e2c1 100644
--- a/addons/hr_expense/hr_expense_report.xml
+++ b/addons/hr_expense/hr_expense_report.xml
@@ -1,6 +1,6 @@
-
+
diff --git a/addons/hr_expense/hr_expense_view.xml b/addons/hr_expense/hr_expense_view.xml
index abce10e80f3..35ffc931831 100644
--- a/addons/hr_expense/hr_expense_view.xml
+++ b/addons/hr_expense/hr_expense_view.xml
@@ -127,18 +127,18 @@
@@ -146,18 +146,18 @@
-
-
-
-
+
+
+
-
+
diff --git a/addons/hr_expense/report/hr_expense_report.py b/addons/hr_expense/report/hr_expense_report.py
index 2b0f6b4addf..85fa541ec10 100644
--- a/addons/hr_expense/report/hr_expense_report.py
+++ b/addons/hr_expense/report/hr_expense_report.py
@@ -29,7 +29,7 @@ class hr_expense_report(osv.osv):
_auto = False
_rec_name = 'date'
_columns = {
- 'date': fields.date('Date', readonly=True),
+ 'date': fields.date('Date ', readonly=True),
'year': fields.char('Year', size=4, readonly=True),
'day': fields.char('Day', size=128, readonly=True),
'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'),
@@ -44,9 +44,11 @@ class hr_expense_report(osv.osv):
'invoice_id': fields.many2one('account.invoice', 'Invoice',readonly=True),
'department_id':fields.many2one('hr.department','Department',readonly=True),
'company_id':fields.many2one('res.company', 'Company', readonly=True),
- 'user_id':fields.many2one('res.users', 'User', readonly=True),
+ 'user_id':fields.many2one('res.users', 'Validation User', readonly=True),
'currency_id': fields.many2one('res.currency', 'Currency', readonly=True),
'price_total':fields.float('Total Price', readonly=True),
+ 'delay_valid':fields.float('Delay Valid', readonly=True),
+ 'delay_confirm':fields.float('Delay Confirm', readonly=True),
'analytic_account': fields.many2one('account.analytic.account','Analytic account',readonly=True),
'price_average':fields.float('Average Price', readonly=True),
'nbr':fields.integer('# of Lines', readonly=True),
@@ -75,20 +77,22 @@ class hr_expense_report(osv.osv):
to_date(to_char(s.date_confirm, 'dd-MM-YYYY'),'dd-MM-YYYY') as date_confirm,
to_date(to_char(s.date_valid, 'dd-MM-YYYY'),'dd-MM-YYYY') as date_valid,
s.invoice_id,
+ s.user_valid as user_id,
s.department_id,
to_char(date_trunc('day',s.create_date), 'YYYY') as year,
to_char(date_trunc('day',s.create_date), 'MM') as month,
to_char(date_trunc('day',s.create_date), 'YYYY-MM-DD') as day,
+ avg(extract('epoch' from age(s.date_valid,s.date)))/(3600*24) as delay_valid,
+ avg(extract('epoch' from age(s.date_valid,s.date_confirm)))/(3600*24) as delay_confirm,
l.product_id as product_id,
l.analytic_account as analytic_account,
sum(l.unit_quantity * u.factor) as product_qty,
- s.user_id as user_id,
s.company_id as company_id,
sum(l.unit_quantity*l.unit_amount) as price_total,
(sum(l.unit_quantity*l.unit_amount)/sum(l.unit_quantity * u.factor))::decimal(16,2) as price_average,
count(*) as nbr,
(select unit_quantity from hr_expense_line where id=l.id and product_id is not null) as no_of_products,
- (select count(analytic_account) from hr_expense_line where id=l.id and analytic_account is not null) as no_of_account,
+ (select analytic_account from hr_expense_line where id=l.id and analytic_account is not null) as no_of_account,
s.state
from hr_expense_line l
left join hr_expense_expense s on (s.id=l.expense_id)
@@ -104,10 +108,10 @@ class hr_expense_report(osv.osv):
l.analytic_account,
s.invoice_id,
s.currency_id,
+ s.user_valid,
s.department_id,
l.uom_id,
l.id,
- s.user_id,
s.state,
s.journal_id,
s.company_id,
diff --git a/addons/hr_expense/report/hr_expense_report_view.xml b/addons/hr_expense/report/hr_expense_report_view.xml
index 6507ff87342..bcc560573ab 100644
--- a/addons/hr_expense/report/hr_expense_report_view.xml
+++ b/addons/hr_expense/report/hr_expense_report_view.xml
@@ -9,7 +9,6 @@
-
@@ -21,12 +20,13 @@
+
-
+
+
-
@@ -37,7 +37,7 @@
graph
-
+
@@ -51,73 +51,74 @@
-
-
-
+
-
-
-
-
-
+
-
-
-
+
+
-
-
-
+
-
-
-
+
+
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
@@ -128,7 +129,7 @@
hr.expense.report
form
tree,graph
- {'search_default_month':1,'search_default_User':1,'group_by_no_leaf':1,'group_by':[]}
+ {'search_default_month':1,'search_default_employee':1,'group_by_no_leaf':1,'group_by':[]}
diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml
index 74546ff1388..fc9626d831d 100644
--- a/addons/hr_holidays/hr_holidays_view.xml
+++ b/addons/hr_holidays/hr_holidays_view.xml
@@ -8,27 +8,27 @@
-
-
-
+
+
-
-
-
-
-
+
+
+
+
-
-
+
diff --git a/addons/hr_holidays/report/available_holidays_view.xml b/addons/hr_holidays/report/available_holidays_view.xml
index 34f14271758..5fd9a9c0199 100644
--- a/addons/hr_holidays/report/available_holidays_view.xml
+++ b/addons/hr_holidays/report/available_holidays_view.xml
@@ -48,21 +48,21 @@
-
-
-
-
-
-
@@ -82,15 +82,15 @@
-
-
+
+
-
-
+
+
-
-
-
+
+
+
diff --git a/addons/hr_holidays/report/hr_holidays_report_view.xml b/addons/hr_holidays/report/hr_holidays_report_view.xml
index b6afe32fb25..24ea6745270 100644
--- a/addons/hr_holidays/report/hr_holidays_report_view.xml
+++ b/addons/hr_holidays/report/hr_holidays_report_view.xml
@@ -45,36 +45,36 @@
-
-
-
-
-
@@ -83,20 +83,20 @@
-
-
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
@@ -105,7 +105,7 @@
-
diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml
index 65d5db06fe3..5183587e992 100644
--- a/addons/hr_recruitment/hr_recruitment_view.xml
+++ b/addons/hr_recruitment/hr_recruitment_view.xml
@@ -216,20 +216,20 @@
search
-
-
-
-
@@ -238,27 +238,27 @@
-
+
-
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
+
-
+
diff --git a/addons/hr_recruitment/report/hr_recruitment_report_view.xml b/addons/hr_recruitment/report/hr_recruitment_report_view.xml
index 8a9e913a454..4fca4a8b239 100644
--- a/addons/hr_recruitment/report/hr_recruitment_report_view.xml
+++ b/addons/hr_recruitment/report/hr_recruitment_report_view.xml
@@ -47,29 +47,29 @@
-
-
-
@@ -83,21 +83,21 @@
-
-
-
-
+
+
+
+
-
-
+
+
-
-
-
+
+
+
-
-
-
+
+
+
diff --git a/addons/hr_timesheet/hr_timesheet_view.xml b/addons/hr_timesheet/hr_timesheet_view.xml
index d7c12b14df7..947f0d34c41 100644
--- a/addons/hr_timesheet/hr_timesheet_view.xml
+++ b/addons/hr_timesheet/hr_timesheet_view.xml
@@ -50,7 +50,7 @@
-
+
diff --git a/addons/hr_timesheet/i18n/hr.po b/addons/hr_timesheet/i18n/hr.po
index b86674b1aa8..b1b8ed90ca7 100644
--- a/addons/hr_timesheet/i18n/hr.po
+++ b/addons/hr_timesheet/i18n/hr.po
@@ -1,382 +1,388 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
-# * hr_timesheet
-#
+# * hr_timesheet_sheet
+# Drazen Bosak , 2010.
msgid ""
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-06-07 21:18+0000\n"
+"Last-Translator: Drazen Bosak \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-04-17 04:11+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
+"Language: hr\n"
#. module: hr_timesheet
#: wizard_view:hr.analytical.timesheet,init:0
#: wizard_view:hr.analytical.timesheet.my,init:0
msgid "Choose your month"
-msgstr ""
+msgstr "Izaberite svoj mjesec"
#. module: hr_timesheet
#: constraint:ir.model:0
msgid ""
"The Object name must start with x_ and not contain any special character !"
msgstr ""
+"Naziv Objekta mora početi s x_ i ne smije sadržavati bilo koji posebni znak !"
#. module: hr_timesheet
#: model:ir.actions.report.xml,name:hr_timesheet.report_user_timesheet
msgid "Employee timesheet"
-msgstr ""
+msgstr "Kontrolna kartica Djelatnika"
#. module: hr_timesheet
#: model:ir.actions.wizard,name:hr_timesheet.si_so
#: model:ir.ui.menu,name:hr_timesheet.menu_si_so
msgid "Sign in / Sign out by project"
-msgstr ""
+msgstr "Prijava / Odjava po Projektu"
#. module: hr_timesheet
#: wizard_button:hr_timesheet.si_so,sign_in,so_result_end:0
msgid "Stop Working"
-msgstr ""
+msgstr "Prestanite s radom"
#. module: hr_timesheet
#: wizard_view:hr_timesheet.si_so,sign_in:0
msgid "(Keep empty for current_time)"
-msgstr ""
+msgstr "(Treba ostati prazno za current_time)"
#. module: hr_timesheet
#: constraint:product.template:0
msgid ""
"Error: The default UOM and the purchase UOM must be in the same category."
msgstr ""
+"Greška: Zadana Jedinica Mjere (JM) i kupovna Jedinica Mjere (JM) moraju biti "
+"u istoj kategoriji."
#. module: hr_timesheet
#: wizard_view:hr_timesheet.si_so,sign_in:0
msgid "Sign in status"
-msgstr ""
+msgstr "Status Prijave"
#. module: hr_timesheet
#: wizard_view:hr_timesheet.si_so,sign_out:0
msgid "(Keep empty for current time)"
-msgstr ""
+msgstr "(Treba ostati prazno za tekuće vijeme)"
#. module: hr_timesheet
#: wizard_field:hr_timesheet.si_so,sign_out,server_date:0
msgid "Current Date"
-msgstr ""
+msgstr "Tekući Datumž"
#. module: hr_timesheet
#: constraint:ir.actions.act_window:0
msgid "Invalid model name in the action definition."
-msgstr ""
+msgstr "Nepravilno ime modela u definiciji radnje."
#. module: hr_timesheet
#: wizard_button:hr.analytical.timesheet,init,report:0
#: wizard_button:hr.analytical.timesheet.my,init,report:0
#: wizard_button:hr.analytical.timesheet_users,init,report:0
msgid "Print"
-msgstr ""
+msgstr "Tiskaj"
#. module: hr_timesheet
#: wizard_field:hr_timesheet.si_so,sign_in,analytic_amount:0
msgid "Minimum Analytic Amount"
-msgstr ""
+msgstr "Minimalni Analitički Konto"
#. module: hr_timesheet
#: wizard_field:hr_timesheet.si_so,sign_in,server_date:0
msgid "Current Server Date"
-msgstr ""
+msgstr "Tekući datum Servera"
#. module: hr_timesheet
#: wizard_field:hr_timesheet.si_so,sign_in,date_start:0
#: wizard_field:hr_timesheet.si_so,sign_out,date:0
msgid "Starting Date"
-msgstr ""
+msgstr "Početni Datum"
#. module: hr_timesheet
#: field:hr.employee,product_id:0
msgid "Product"
-msgstr ""
+msgstr "Proizvod"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "août"
-msgstr ""
+msgstr "\"août\""
#. module: hr_timesheet
#: field:hr.employee,journal_id:0
msgid "Analytic Journal"
-msgstr ""
+msgstr "Analitički Dnevnik"
#. module: hr_timesheet
#: model:product.uom,name:hr_timesheet.uom_hour
msgid "Hour"
-msgstr ""
+msgstr "Sat"
#. module: hr_timesheet
#: model:ir.actions.wizard,name:hr_timesheet.wizard_hr_timesheet
#: model:ir.ui.menu,name:hr_timesheet.menu_wizard_hr_timesheet
msgid "Employee Timesheet"
-msgstr ""
+msgstr "Kontrolna kartica Djelatnika"
#. module: hr_timesheet
#: view:account.analytic.account:0
msgid "Work done stats"
-msgstr ""
+msgstr "Statistika obavljenog Posla"
#. module: hr_timesheet
#: model:ir.actions.act_window,name:hr_timesheet.act_hr_timesheet_line_evry1_all_form
#: model:ir.ui.menu,name:hr_timesheet.menu_act_hr_timesheet_line_evry1_all_form
#: model:ir.ui.menu,name:hr_timesheet.menu_act_hr_timesheet_line_today_form
msgid "Working Hours"
-msgstr ""
+msgstr "Radno vrijeme"
#. module: hr_timesheet
#: view:hr.analytic.timesheet:0
msgid "Timesheet Lines"
-msgstr ""
+msgstr "Linije Kontrolne kartice"
#. module: hr_timesheet
#: view:hr.analytic.timesheet:0
msgid "Total time"
-msgstr ""
+msgstr "Ukupna cijena"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "juillet"
-msgstr ""
+msgstr "\"juillet\""
#. module: hr_timesheet
#: xsl:hr.analytical.timesheet:0
#: xsl:hr.analytical.timesheet_users:0
#: model:ir.ui.menu,name:hr_timesheet.next_id_48
msgid "Timesheet"
-msgstr ""
+msgstr "Kontrolna Kartica"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "janvier"
-msgstr ""
+msgstr "Siječanj"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "juin"
-msgstr ""
+msgstr "Svibanj"
#. module: hr_timesheet
#: model:ir.actions.wizard,name:hr_timesheet.wizard_hr_timesheet_my
#: model:ir.ui.menu,name:hr_timesheet.menu_wizard_hr_timesheet_my
msgid "Print My Timesheet"
-msgstr ""
+msgstr "Tiskaj moju Kontrolnu Karticu"
#. module: hr_timesheet
#: wizard_field:hr.analytical.timesheet,init,user_id:0
#: wizard_field:hr.analytical.timesheet.my,init,user_id:0
msgid "User"
-msgstr ""
+msgstr "Korisnik"
#. module: hr_timesheet
#: wizard_view:hr_timesheet.si_so,sign_out:0
msgid "Sign in"
-msgstr ""
+msgstr "Prijava"
#. module: hr_timesheet
#: model:ir.actions.act_window,name:hr_timesheet.act_hr_timesheet_line_evry1_today_form
#: model:ir.ui.menu,name:hr_timesheet.menu_act_hr_timesheet_line_evry1_today_form
msgid "Working Hours of The Day"
-msgstr ""
+msgstr "Radni sati u danu"
#. module: hr_timesheet
#: wizard_view:hr_timesheet.si_so,sign_out:0
msgid "(local time on the server side)"
-msgstr ""
+msgstr "(Lokalno vrijeme na serveru)"
#. module: hr_timesheet
#: view:hr.analytic.timesheet:0
msgid "Total cost"
-msgstr ""
+msgstr "Ukupni trošak"
#. module: hr_timesheet
#: model:product.uom,name:hr_timesheet.uom_day
msgid "Day"
-msgstr ""
+msgstr "Dan"
#. module: hr_timesheet
#: wizard_field:hr_timesheet.si_so,sign_in,date:0
msgid "Closing Date"
-msgstr ""
+msgstr "Datum zaključenja"
#. module: hr_timesheet
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
-msgstr ""
+msgstr "Neispravan XML za Arhitekturu Prikaza!"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "avril"
-msgstr ""
+msgstr "Travanj"
#. module: hr_timesheet
#: field:hr.analytic.timesheet,line_id:0
msgid "Analytic line"
-msgstr ""
+msgstr "Analitička linija"
#. module: hr_timesheet
#: constraint:product.template:0
msgid "Error: UOS must be in a different category than the UOM"
msgstr ""
+"Greška: Jedinica skladištenja (JS) mora biti u različitoj kategoriji od "
+"Jedinice Mjere (JM)"
#. module: hr_timesheet
#: wizard_view:hr.analytical.timesheet_users,init:0
msgid "Choose Users"
-msgstr ""
+msgstr "Odaberite Korisnike"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "novembre"
-msgstr ""
+msgstr "Studeni"
#. module: hr_timesheet
#: wizard_view:hr_timesheet.si_so,sign_out:0
msgid "Sign in / Sign out"
-msgstr ""
+msgstr "Prijava / Odjava"
#. module: hr_timesheet
#: wizard_view:hr_timesheet.si_so,sign_in:0
msgid "Work done in the last period"
-msgstr ""
+msgstr "Posao obavljen u zadnjem razdoblju"
#. module: hr_timesheet
#: view:account.analytic.account:0
msgid "Key dates"
-msgstr ""
+msgstr "Ključni datumi"
#. module: hr_timesheet
#: wizard_field:hr_timesheet.si_so,sign_in,state:0
#: wizard_field:hr_timesheet.si_so,sign_out,state:0
msgid "Current state"
-msgstr ""
+msgstr "Tekuće stanje"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "octobre"
-msgstr ""
+msgstr "Listopad"
#. module: hr_timesheet
#: view:account.analytic.account:0
msgid "Analysis stats"
-msgstr ""
+msgstr "Analitičke statistike"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "décembre"
-msgstr ""
+msgstr "Prosinac"
#. module: hr_timesheet
#: wizard_field:hr_timesheet.si_so,sign_in,info:0
msgid "Work Description"
-msgstr ""
+msgstr "Opis Posla"
#. module: hr_timesheet
#: wizard_field:hr_timesheet.si_so,sign_in,name:0
#: wizard_field:hr_timesheet.si_so,sign_out,name:0
msgid "Employee's name"
-msgstr ""
+msgstr "Ime Djelatnika"
#. module: hr_timesheet
#: model:product.template,name:hr_timesheet.product_consultant_product_template
msgid "Consultancy - Senior Developer"
-msgstr ""
+msgstr "Savjetovanje - Stariji Programer"
#. module: hr_timesheet
#: model:ir.actions.act_window,name:hr_timesheet.act_hr_timesheet_line_me_all_form
#: model:ir.ui.menu,name:hr_timesheet.menu_act_hr_timesheet_line_me_all_form
msgid "My Working Hours"
-msgstr ""
+msgstr "Moji radni sati"
#. module: hr_timesheet
#: model:ir.model,name:hr_timesheet.model_hr_analytic_timesheet
msgid "Timesheet line"
-msgstr ""
+msgstr "Niz Kontrolne kartice"
#. module: hr_timesheet
#: xsl:hr.analytical.timesheet:0
msgid "Sum"
-msgstr ""
+msgstr "Zbroj"
#. module: hr_timesheet
#: model:ir.actions.act_window,name:hr_timesheet.act_hr_timesheet_line_evry1_today_form_my
#: model:ir.ui.menu,name:hr_timesheet.menu_act_hr_timesheet_line_evry1_today_form_my
msgid "My Working Hours of The Day"
-msgstr ""
+msgstr "Moji radni sati u danu"
#. module: hr_timesheet
#: model:ir.module.module,shortdesc:hr_timesheet.module_meta_information
msgid "Human Resources (Timesheet encoding)"
-msgstr ""
+msgstr "Ljudski Resursi (Kodiranje Kontrolna Kartica)"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "mars"
-msgstr ""
+msgstr "Travanj"
#. module: hr_timesheet
#: xsl:hr.analytical.timesheet:0
#: xsl:hr.analytical.timesheet_users:0
msgid "Total"
-msgstr ""
+msgstr "Ukupno"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "mai"
-msgstr ""
+msgstr "Svibanj"
#. module: hr_timesheet
#: wizard_button:hr_timesheet.si_so,sign_out,si_result:0
msgid "Start Working"
-msgstr ""
+msgstr "Započnite s radom"
#. module: hr_timesheet
#: wizard_button:hr_timesheet.si_so,sign_in,so_result:0
msgid "Change Work"
-msgstr ""
+msgstr "Promijenite posao"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "février"
-msgstr ""
+msgstr "Veljača"
#. module: hr_timesheet
#: view:account.analytic.account:0
msgid "Stats by month"
-msgstr ""
+msgstr "Satistike po mjesecu"
#. module: hr_timesheet
#: view:account.analytic.account:0
@@ -384,49 +390,49 @@ msgstr ""
#: wizard_field:hr.analytical.timesheet.my,init,month:0
#: wizard_field:hr.analytical.timesheet_users,init,month:0
msgid "Month"
-msgstr ""
+msgstr "Mjesec"
#. module: hr_timesheet
#: wizard_field:hr_timesheet.si_so,sign_in,account_id:0
msgid "Analytic Account"
-msgstr ""
+msgstr "Analitički Konto"
#. module: hr_timesheet
#: wizard_view:hr_timesheet.si_so,sign_in:0
msgid "General Information"
-msgstr ""
+msgstr "Opći Podaci"
#. module: hr_timesheet
#: model:process.process,name:hr_timesheet.process_process_timesheetprocess0
msgid "Timesheet Process"
-msgstr ""
+msgstr "Proces Kontrolne kartice"
#. module: hr_timesheet
#: constraint:product.product:0
msgid "Error: Invalid ean code"
-msgstr ""
+msgstr "Greška: Nepravila EAN kod"
#. module: hr_timesheet
#: view:account.analytic.account:0
msgid "Stats by user"
-msgstr ""
+msgstr "Statistike po Korisniku"
#. module: hr_timesheet
#: view:hr.analytic.timesheet:0
msgid "Timesheet Line"
-msgstr ""
+msgstr "Niz Kontrolne kartice"
#. module: hr_timesheet
#: view:account.analytic.account:0
msgid "Analysis summary"
-msgstr ""
+msgstr "Zbirna Analiza"
#. module: hr_timesheet
#: wizard_field:hr.analytical.timesheet,init,year:0
#: wizard_field:hr.analytical.timesheet.my,init,year:0
#: wizard_field:hr.analytical.timesheet_users,init,year:0
msgid "Year"
-msgstr ""
+msgstr "Godina"
#. module: hr_timesheet
#: wizard_button:hr.analytical.timesheet,init,end:0
@@ -435,39 +441,39 @@ msgstr ""
#: wizard_button:hr_timesheet.si_so,sign_in,end:0
#: wizard_button:hr_timesheet.si_so,sign_out,end:0
msgid "Cancel"
-msgstr ""
+msgstr "Odustani"
#. module: hr_timesheet
#: view:account.analytic.account:0
#: wizard_field:hr.analytical.timesheet_users,init,user_ids:0
msgid "Users"
-msgstr ""
+msgstr "Korisnici"
#. module: hr_timesheet
#: model:product.uom.categ,name:hr_timesheet.uom_categ_wtime
msgid "Working Time"
-msgstr ""
+msgstr "Radno vrijeme"
#. module: hr_timesheet
#: view:account.analytic.account:0
msgid "To be invoiced"
-msgstr ""
+msgstr "Treba izdati račun"
#. module: hr_timesheet
#: model:ir.actions.report.xml,name:hr_timesheet.report_users_timesheet
#: model:ir.actions.wizard,name:hr_timesheet.wizard_hr_timesheet_users
#: model:ir.ui.menu,name:hr_timesheet.menu_wizard_hr_timesheet_users
msgid "Employees Timesheet"
-msgstr ""
+msgstr "Kontrolna kartica Djelatnika"
#. module: hr_timesheet
#: selection:hr.analytical.timesheet,init,month:0
#: selection:hr.analytical.timesheet.my,init,month:0
#: selection:hr.analytical.timesheet_users,init,month:0
msgid "septembre"
-msgstr ""
+msgstr "Rujan"
#. module: hr_timesheet
#: view:hr.employee:0
msgid "Timesheets"
-msgstr ""
+msgstr "Kontrolne Kartice"
diff --git a/addons/hr_timesheet/wizard/hr_timesheet_print_employee_view.xml b/addons/hr_timesheet/wizard/hr_timesheet_print_employee_view.xml
index d6c7398864a..9b37db8b0c6 100644
--- a/addons/hr_timesheet/wizard/hr_timesheet_print_employee_view.xml
+++ b/addons/hr_timesheet/wizard/hr_timesheet_print_employee_view.xml
@@ -57,7 +57,7 @@
- Print My Timesheet
+ My Timesheet
hr.analytical.timesheet.employee
form
tree,form
diff --git a/addons/hr_timesheet_invoice/i18n/pl.po b/addons/hr_timesheet_invoice/i18n/pl.po
index 8f95108f331..f8b962079b1 100644
--- a/addons/hr_timesheet_invoice/i18n/pl.po
+++ b/addons/hr_timesheet_invoice/i18n/pl.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: 2010-05-24 15:59+0000\n"
-"Last-Translator: Grzegorz Grzelak (Cirrus.pl) \n"
+"PO-Revision-Date: 2010-06-04 21:45+0000\n"
+"Last-Translator: ErnestŻyciński \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-05-25 03:42+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: hr_timesheet_invoice
@@ -327,7 +327,7 @@ msgstr "Upust (%)"
#. module: hr_timesheet_invoice
#: rml:account.analytic.profit:0
msgid "Eff."
-msgstr ""
+msgstr "Eff."
#. module: hr_timesheet_invoice
#: wizard_field:hr.timesheet.invoice.create,init,accounts:0
@@ -433,7 +433,7 @@ msgstr "Produkt"
#. module: hr_timesheet_invoice
#: rml:account.analytic.profit:0
msgid "%"
-msgstr ""
+msgstr "%"
#. module: hr_timesheet_invoice
#: field:hr_timesheet_invoice.factor,name:0
diff --git a/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report_view.xml b/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report_view.xml
index 880e5837fd2..b3f81e5fbb1 100644
--- a/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report_view.xml
+++ b/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report_view.xml
@@ -47,21 +47,21 @@
-
-
-
-
@@ -69,28 +69,16 @@
-
-
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
@@ -177,8 +165,8 @@
-
-
+
+
@@ -316,8 +304,8 @@
-
-
+
+
@@ -390,8 +378,8 @@
-
-
+
+
report.analytic.account.close.tree
report.analytic.account.close
@@ -36,7 +36,7 @@
-
+
report.analytic.account.close.graph
report.analytic.account.close
@@ -45,11 +45,11 @@
-
+
-
+
Expired analytic accounts
report.analytic.account.close
@@ -116,8 +116,8 @@
-
-
+
+
@@ -138,6 +138,6 @@
-
+
diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
index 35c20fdce08..f686daf575e 100644
--- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
+++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
@@ -192,21 +192,21 @@
-
-
+
+
-
-
-
-
+
+
+
diff --git a/addons/hr_timesheet_sheet/report/timesheet_report.py b/addons/hr_timesheet_sheet/report/timesheet_report.py
index 3dd8d161c5f..a8c0440a053 100644
--- a/addons/hr_timesheet_sheet/report/timesheet_report.py
+++ b/addons/hr_timesheet_sheet/report/timesheet_report.py
@@ -39,6 +39,9 @@ class timesheet_report(osv.osv):
'to_invoice': fields.many2one('hr_timesheet_invoice.factor', 'Type of Invoicing',readonly=True),
'account_id': fields.many2one('account.analytic.account', 'Analytic Account',readonly=True),
'nbr': fields.integer('#Nbr',readonly=True),
+ 'total_diff': fields.float('#Total Diff',readonly=True),
+ 'total_timesheet': fields.float('#Total Timesheet',readonly=True),
+ 'total_attendance': fields.float('#Total Attendance',readonly=True),
'company_id': fields.many2one('res.company', 'Company',readonly=True),
'department_id':fields.many2one('hr.department','Department',readonly=True),
'date_from': fields.date('Date from',readonly=True,),
@@ -67,10 +70,25 @@ class timesheet_report(osv.osv):
to_char(htss.date_current,'MM') as month,
to_char(htss.date_current, 'YYYY-MM-DD') as day,
count(*) as nbr,
- sum(aal.unit_amount) as quantity,
- sum(aal.amount) as cost,
+ aal.unit_amount as quantity,
+ aal.amount as cost,
aal.account_id,
aal.product_id,
+ (SELECT sum(day.total_difference)
+ FROM hr_timesheet_sheet_sheet AS sheet
+ LEFT JOIN hr_timesheet_sheet_sheet_day AS day
+ ON (sheet.id = day.sheet_id
+ AND day.name = sheet.date_current) where sheet.id=htss.id) as total_diff,
+ (SELECT sum(day.total_timesheet)
+ FROM hr_timesheet_sheet_sheet AS sheet
+ LEFT JOIN hr_timesheet_sheet_sheet_day AS day
+ ON (sheet.id = day.sheet_id
+ AND day.name = sheet.date_current) where sheet.id=htss.id) as total_timesheet,
+ (SELECT sum(day.total_attendance)
+ FROM hr_timesheet_sheet_sheet AS sheet
+ LEFT JOIN hr_timesheet_sheet_sheet_day AS day
+ ON (sheet.id = day.sheet_id
+ AND day.name = sheet.date_current) where sheet.id=htss.id) as total_attendance,
aal.to_invoice,
aal.general_account_id,
htss.user_id,
@@ -87,6 +105,8 @@ class timesheet_report(osv.osv):
aal.account_id,
htss.date_from,
htss.date_to,
+ aal.unit_amount,
+ aal.amount,
htss.date_current,
aal.to_invoice,
aal.product_id,
@@ -94,8 +114,9 @@ class timesheet_report(osv.osv):
htss.name,
htss.company_id,
htss.state,
+ htss.id,
htss.department_id,
htss.user_id
)
""")
-timesheet_report()
\ No newline at end of file
+timesheet_report()
diff --git a/addons/hr_timesheet_sheet/report/timesheet_report_view.xml b/addons/hr_timesheet_sheet/report/timesheet_report_view.xml
index 32e8bda4f7f..51e6b5d295c 100644
--- a/addons/hr_timesheet_sheet/report/timesheet_report_view.xml
+++ b/addons/hr_timesheet_sheet/report/timesheet_report_view.xml
@@ -24,8 +24,6 @@
-
-
@@ -36,6 +34,11 @@
+
+
+
+
+
@@ -46,71 +49,65 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -121,7 +118,7 @@
timesheet.report
form
tree,graph
- {'search_default_month':1,'search_default_User':1,'search_default_user_id':uid,'group_by_no_leaf':1,'group_by':[]}
+ {'search_default_month':1,'search_default_User_id':1,'group_by_no_leaf':1,'group_by':[]}
diff --git a/addons/idea/i18n/hr.po b/addons/idea/i18n/hr.po
index 97112788aea..57d37c82a61 100644
--- a/addons/idea/i18n/hr.po
+++ b/addons/idea/i18n/hr.po
@@ -1,19 +1,19 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
-# * idea
+# * hr_attendance
# Drazen Bosak , 2010.
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 5.0.4\n"
+"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: 2010-05-10 06:56+0000\n"
-"Last-Translator: nafterburner \n"
-"Language-Team: Vinteh\n"
+"PO-Revision-Date: 2010-06-07 19:29+0000\n"
+"Last-Translator: Drazen Bosak \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-05-11 04:19+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: hr\n"
@@ -174,7 +174,7 @@ msgstr "idea.vote"
#: field:idea.comment,user_id:0
#: field:idea.vote,user_id:0
msgid "User"
-msgstr ""
+msgstr "Korisnik"
#. module: idea
#: view:idea.idea:0
diff --git a/addons/idea/idea_view.xml b/addons/idea/idea_view.xml
index 8aa0802fcda..90ee35d21e2 100644
--- a/addons/idea/idea_view.xml
+++ b/addons/idea/idea_view.xml
@@ -61,15 +61,15 @@
-
+
-
-
+ action="action_idea_select"/>
@@ -139,7 +139,7 @@
-
+
@@ -153,10 +153,10 @@
-
-
-
-
+
+
+
+
@@ -218,20 +218,20 @@
-
-
+
+
-
+
-
+
@@ -249,7 +249,7 @@
-
+
@@ -263,9 +263,9 @@
-
-
@@ -273,10 +273,10 @@
-
-
-
-
+
+
+
+
diff --git a/addons/l10n_ch/__openerp__.py b/addons/l10n_ch/__openerp__.py
index 9d0b2852abd..7de9b5eb77e 100644
--- a/addons/l10n_ch/__openerp__.py
+++ b/addons/l10n_ch/__openerp__.py
@@ -77,7 +77,6 @@ TODO :
"base_vat",
"base_iban",
"account_payment",
- "account_tax_include",
],
"init_xml" : [
"dta_data.xml",
diff --git a/addons/l10n_fr/i18n/pl.po b/addons/l10n_fr/i18n/pl.po
index 9ab5656cf1c..8605f1e63d3 100644
--- a/addons/l10n_fr/i18n/pl.po
+++ b/addons/l10n_fr/i18n/pl.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 09:18+0000\n"
-"Last-Translator: Fabien (Open ERP) \n"
+"PO-Revision-Date: 2010-06-04 21:52+0000\n"
+"Last-Translator: ErnestŻyciński \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-04-17 04:04+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: l10n_fr
@@ -77,7 +77,7 @@ msgstr "Własność"
#. module: l10n_fr
#: model:account.account.type,name:l10n_fr.account_type_income
msgid "Income"
-msgstr ""
+msgstr "Przychody"
#. module: l10n_fr
#: rml:l10n.fr.cdr:0
@@ -113,12 +113,12 @@ msgstr ""
#. module: l10n_fr
#: model:account.account.type,name:l10n_fr.account_type_payable
msgid "Payable"
-msgstr ""
+msgstr "Należności"
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
msgid "( IV )"
-msgstr ""
+msgstr "( IV )"
#. module: l10n_fr
#: model:account.fiscal.position.template,name:l10n_fr.fiscal_position_template_4
@@ -138,7 +138,7 @@ msgstr ""
#. module: l10n_fr
#: rml:l10n.fr.cdr:0
msgid "+ IV+ V+ VI"
-msgstr ""
+msgstr "+ IV+ V+ VI"
#. module: l10n_fr
#: rml:l10n.fr.cdr:0
@@ -153,12 +153,12 @@ msgstr ""
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
msgid "D"
-msgstr ""
+msgstr "D"
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
msgid "PROVISIONS"
-msgstr ""
+msgstr "PROWIZJA"
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
@@ -183,7 +183,7 @@ msgstr ""
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
msgid "P"
-msgstr ""
+msgstr "P"
#. module: l10n_fr
#: model:account.account.type,name:l10n_fr.account_type_stocks
@@ -193,7 +193,7 @@ msgstr ""
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
msgid "T"
-msgstr ""
+msgstr "T"
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
@@ -213,12 +213,12 @@ msgstr ""
#. module: l10n_fr
#: wizard_view:l10n.fr.cdr.report,init:0
msgid "Select period"
-msgstr ""
+msgstr "Wybierz okres"
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
msgid "RÉSERVES"
-msgstr ""
+msgstr "ZAREZERWOWANY"
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
@@ -228,7 +228,7 @@ msgstr ""
#. module: l10n_fr
#: model:account.account.type,name:l10n_fr.account_type_tax
msgid "Tax"
-msgstr ""
+msgstr "Podatek"
#. module: l10n_fr
#: rml:l10n.fr.cdr:0
@@ -290,7 +290,7 @@ msgstr ""
#: model:account.fiscal.position.template,name:l10n_fr.fiscal_position_template_1
#: model:account.fiscal.position.template,name:l10n_fr.fiscal_position_template_5
msgid "France"
-msgstr ""
+msgstr "Francja"
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
@@ -306,7 +306,7 @@ msgstr ""
#: wizard_button:l10n.fr.bilan.report,init,report:0
#: wizard_button:l10n.fr.cdr.report,init,report:0
msgid "Print"
-msgstr ""
+msgstr "Drukuj"
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
@@ -316,7 +316,7 @@ msgstr ""
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
msgid "Net"
-msgstr ""
+msgstr "Sieć"
#. module: l10n_fr
#: rml:l10n.fr.cdr:0
@@ -331,7 +331,7 @@ msgstr ""
#. module: l10n_fr
#: rml:l10n.fr.cdr:0
msgid "( VI )"
-msgstr ""
+msgstr "( VI )"
#. module: l10n_fr
#: constraint:account.account.template:0
@@ -341,7 +341,7 @@ msgstr ""
#. module: l10n_fr
#: model:account.account.type,name:l10n_fr.account_type_provision
msgid "Provisions"
-msgstr ""
+msgstr "Prowizja"
#. module: l10n_fr
#: rml:l10n.fr.cdr:0
@@ -378,7 +378,7 @@ msgstr ""
#. module: l10n_fr
#: field:l10n.fr.line,report_id:0
msgid "Report"
-msgstr ""
+msgstr "Raport"
#. module: l10n_fr
#: constraint:account.tax.code.template:0
@@ -408,12 +408,12 @@ msgstr ""
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
msgid "C"
-msgstr ""
+msgstr "C"
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
msgid "M"
-msgstr ""
+msgstr "M"
#. module: l10n_fr
#: model:ir.module.module,description:l10n_fr.module_meta_information
@@ -441,7 +441,7 @@ msgstr ""
#. module: l10n_fr
#: model:account.account.type,name:l10n_fr.account_type_expense
msgid "Expense"
-msgstr ""
+msgstr "Koszty"
#. module: l10n_fr
#: rml:l10n.fr.bilan:0
diff --git a/addons/lunch/lunch_report.xml b/addons/lunch/lunch_report.xml
index 6503c99a6ea..c5e933847cd 100644
--- a/addons/lunch/lunch_report.xml
+++ b/addons/lunch/lunch_report.xml
@@ -3,7 +3,7 @@
-
\ No newline at end of file
+
diff --git a/addons/mail_gateway/scripts/openerp_mailgate/openerp_mailgate.py b/addons/mail_gateway/scripts/openerp_mailgate/openerp_mailgate.py
index a865443c1b9..4a18d8cb251 100755
--- a/addons/mail_gateway/scripts/openerp_mailgate/openerp_mailgate.py
+++ b/addons/mail_gateway/scripts/openerp_mailgate/openerp_mailgate.py
@@ -130,7 +130,7 @@ class rpc_proxy(object):
return self.rpc.execute(self.dbname, self.user_id, self.passwd, *request, **kwargs)
class email_parser(object):
- def __init__(self, uid, password, model, email, email_default, dbname, host, port):
+ def __init__(self, uid, password, model, email, email_default, dbname, host, port, smtp_server=None, smtp_port=None, smtp_ssl=None, smtp_user=None, smtp_password=None):
self.rpc = rpc_proxy(uid, password, host=host, port=port, dbname=dbname)
try:
self.model_id = int(model)
@@ -141,7 +141,13 @@ class email_parser(object):
self.email = email
self.email_default = email_default
self.canal_id = False
-
+ self.smtp_server = smtp_server
+ self.smtp_port = smtp_port
+ self.smtp_ssl = smtp_ssl
+ self.smtp_user = smtp_user
+ self.smtp_password = smtp_password
+
+
def email_get(self, email_from):
res = email_re.search(email_from)
return res and res.group(1)
@@ -170,7 +176,24 @@ class email_parser(object):
from email.Header import decode_header
s = decode_header(s.replace('\r', ''))
return ''.join(map(lambda x:self._to_decode(x[0], [x[1]]), s or []))
-
+
+ def history(self, model, new_id, msg_id, subject, msg_to, msg_from, body, attach):
+ msg_data = {
+ 'name': subject,
+ 'history': True,
+ 'model': model,
+ 'res_id': new_id,
+ 'message_id': msg_id,
+ 'user_id': self.rpc.user_id,
+ 'date': time.strftime('%Y-%m-%d %H:%M:%S'),
+ 'email_from': msg_from,
+ 'email_to': msg_to,
+ 'description': body,
+ 'attachment_ids': [(6, 0, attach)]
+ }
+ msg_id = self.rpc('mailgate.message', 'create', msg_data)
+ return True
+
def msg_new(self, msg):
message = self.msg_body_get(msg)
msg_subject = self._decode_header(msg['Subject'])
@@ -189,26 +212,30 @@ class email_parser(object):
data.update(self.partner_get(msg_from))
try:
- id = self.rpc(self.model, 'create', data)
- self.rpc(self.model, 'history', [id], 'Receive', True, msg_to, message['body'], msg_from, False, {'model' : self.model})
- #self.rpc(self.model, 'case_open', [id])
+ att_ids = []
+ new_id = self.rpc(self.model, 'create', data)
+ attachments = message['attachment']
+ for attach in attachments or []:
+ data_attach = {
+ 'name': str(attach),
+ 'datas': binascii.b2a_base64(str(attachments[attach])),
+ 'datas_fname': str(attach),
+ 'description': 'Mail attachment',
+ 'res_model': self.model,
+ 'res_id': new_id
+ }
+ att_ids.append(self.rpc('ir.attachment', 'create', data_attach))
+ try:
+ self.rpc(self.model, 'history', [new_id], 'Receive', True, msg_to, message['body'], msg_from, False, {'model' : self.model})
+ except Exception, e:
+ self.history(self.model, new_id, msg['Message-Id'], msg_subject, msg_to, msg_from, message['body'], att_ids)
except Exception, e:
if getattr(e, 'faultCode', '') and 'AccessError' in e.faultCode:
- e = '\n\nThe Specified user does not have an access to the CRM case.'
+ e = '\n\nThe Specified user does not have an access to the Model.'
print e
- attachments = message['attachment']
- for attach in attachments or []:
- data_attach = {
- 'name': str(attach),
- 'datas': binascii.b2a_base64(str(attachments[attach])),
- 'datas_fname': str(attach),
- 'description': 'Mail attachment',
- 'res_model': self.model,
- 'res_id': id
- }
- self.rpc('ir.attachment', 'create', data_attach)
+
- return id
+ return new_id
# #change the return type format to dictionary
# {
@@ -262,63 +289,6 @@ class email_parser(object):
#end for
return message
- def msg_user(self, msg, id):
- body = self.msg_body_get(msg)
-
- # handle email body commands (ex: Set-State: Draft)
- actions = {}
- body_data=''
- for line in body['body'].split('\n'):
- res = command_re.match(line)
- if res:
- actions[res.group(1).lower()] = res.group(2).lower()
- else:
- body_data += line+'\n'
- body['body'] = body_data
-
- data = {
-# 'description': body['body'],
- }
- act = 'case_open'
- if 'state' in actions:
- if actions['state'] in ['draft', 'close', 'cancel', 'open', 'pending']:
- act = 'case_' + actions['state']
-
- for k1, k2 in [('cost', 'planned_cost'), ('revenue', 'planned_revenue'), ('probability', 'probability')]:
- try:
- data[k2] = float(actions[k1])
- except:
- pass
-
- if 'priority' in actions:
- if actions['priority'] in ('1', '2', '3', '4', '5'):
- data['priority'] = actions['priority']
-
- if 'partner' in actions:
- data['email_from'] = actions['partner'][:128]
-
- if 'user' in actions:
- uids = self.rpc('res.users', 'name_search', actions['user'])
- if uids:
- data['user_id'] = uids[0][0]
-
- self.rpc(self.model, act, [id])
- self.rpc(self.model, 'write', [id], data)
- attachments = body['attachment']
- for attach in attachments or []:
- data_attach = {
- 'name': str(attach),
- 'datas': binascii.b2a_base64(str(attachments[attach])),
- 'datas_fname': str(attach),
- 'description': 'Mail attachment',
- 'res_model': self.model,
- 'res_id': id
- }
- self.rpc('ir.attachment', 'create', data_attach)
-
- self.rpc(self.model, 'history', [id], 'Send', True, self._decode_header(msg['To']), body['body'], self._decode_header(msg['From']), False, {'model' : self.model})
- return id
-
def msg_send(self, msg, emails, priority=None):
if not len(emails):
return False
@@ -330,85 +300,38 @@ class email_parser(object):
msg['Cc'] = ','.join(emails[1:])
del msg['Reply-To']
msg['Reply-To'] = self.email
- if priority:
- msg['X-Priority'] = priorities.get(priority, '3 (Normal)')
- s = smtplib.SMTP()
- s.connect()
- s.sendmail(self.email, emails, msg.as_string())
+ s = smtplib.SMTP(self.smtp_server, self.smtp_port)
+ s.ehlo()
+ s.starttls()
+ s.ehlo()
+
+ if self.smtp_user and self.smtp_password:
+ s.login(self.smtp_user, self.smtp_password)
+ s.sendmail(self.email, emails, msg.as_string())
s.close()
return True
- def msg_partner(self, msg, id):
- message = self.msg_body_get(msg)
- body = message['body']
- act = 'case_open'
- self.rpc(self.model, act, [id])
- #body2 = '\n'.join(map(lambda l: '> '+l, (body or '').split('\n')))
- #data = {
- # 'description':body,
- #}
- #self.rpc(self.model, 'write', [id], data)
- attachments = message['attachment']
- for attach in attachments or []:
- data_attach = {
- 'name': str(attach),
- 'datas': binascii.b2a_base64(str(attachments[attach])),
- 'datas_fname': str(attach),
- 'description': 'Mail attachment',
- 'res_model': self.model,
- 'res_id': id
- }
- self.rpc('ir.attachment', 'create', data_attach)
-
- self.rpc(self.model, 'history', [id], 'Send', True, self._decode_header(msg['To']), message['body'], self._decode_header(msg['From']), False, {'model' : self.model})
- return id
-
- def msg_test(self, msg, case_str):
- if not case_str:
- return (False, False)
- emails = self.rpc(self.model, 'emails_get', int(case_str))
- return (int(case_str), emails)
def parse(self, msg):
- case_str = reference_re.search(msg.get('References', ''))
- if case_str:
- case_str = case_str.group(1)
- else:
- case_str = case_re.search(msg.get('Subject', ''))
- if case_str:
- case_str = case_str.group(1)
- (case_id, emails) = self.msg_test(msg, case_str)
- if case_id:
- if emails[0] and self.email_get(emails[0])==self.email_get(self._decode_header(msg['From'])):
- self.msg_user(msg, case_id)
- else:
- self.msg_partner(msg, case_id)
- else:
- case_id = self.msg_new(msg)
- subject = self._decode_header(msg['subject'])
- if msg.get('Subject', ''):
- del msg['Subject']
- msg['Subject'] = '['+str(case_id)+'] '+subject
- msg['Message-Id'] = '<'+str(time.time())+'-openerpcrm-'+str(case_id)+'@'+socket.gethostname()+'>'
-
- emails = self.rpc(self.model, 'emails_get', case_id)
- priority = emails[3]
- em = [emails[0], emails[1]] + (emails[2] or '').split(',')
- emails = map(self.email_get, filter(None, em))
+ #TODO: Something with Message hierarchy
+ res_id = self.msg_new(msg)
+ subject = self._decode_header(msg['subject'])
+ if msg.get('Subject', ''):
+ del msg['Subject']
+ msg['Subject'] = '['+str(res_id)+'] '+subject
+ msg['Message-Id'] = '<'+str(time.time())+'-openerpcrm-'+str(res_id)+'@'+socket.gethostname()+'>'
mm = [self._decode_header(msg['From']), self._decode_header(msg['To'])]+self._decode_header(msg.get('Cc', '')).split(',')
msg_mails = map(self.email_get, filter(None, mm))
-
- emails = filter(lambda m: m and m not in msg_mails, emails)
try:
- self.msg_send(msg, emails, priority)
- except:
+ self.msg_send(msg, msg_mails)
+ except Exception, e:
if self.email_default:
a = self._decode_header(msg['Subject'])
del msg['Subject']
- msg['Subject'] = '[OpenERP-CaseError] ' + a
+ msg['Subject'] = '[OpenERP-FetchError] ' + a
self.msg_send(msg, self.email_default.split(','))
- return case_id, emails
+ return res_id, msg_mails
if __name__ == '__main__':
import sys, optparse
@@ -425,10 +348,14 @@ if __name__ == '__main__':
parser.add_option("-d", "--dbname", dest="dbname", help="Database name (default: terp)", default='terp')
parser.add_option("--host", dest="host", help="Hostname of the Open ERP Server", default="localhost")
parser.add_option("--port", dest="port", help="Port of the Open ERP Server", default="8069")
-
+ parser.add_option('--smtp', dest='smtp_server', default='', help='specify the SMTP server for sending email')
+ parser.add_option('--smtp-port', dest='smtp_port', default='25', help='specify the SMTP port', type="int")
+ parser.add_option('--smtp-ssl', dest='smtp_ssl', default='', help='specify the SMTP server support SSL or not')
+ parser.add_option('--smtp-user', dest='smtp_user', default='', help='specify the SMTP username for sending email')
+ parser.add_option('--smtp-password', dest='smtp_password', default='', help='specify the SMTP password for sending email')
(options, args) = parser.parse_args()
- parser = email_parser(options.userid, options.password, options.model, options.email, options.default, dbname=options.dbname, host=options.host, port=options.port)
+ parser = email_parser(options.userid, options.password, options.model, options.email, options.default, dbname=options.dbname, host=options.host, port=options.port, smtp_server=options.smtp_server, smtp_port=options.smtp_port, smtp_ssl=options.smtp_ssl, smtp_user=options.smtp_user, smtp_password=options.smtp_password)
msg_txt = email.message_from_file(sys.stdin)
diff --git a/addons/marketing/marketing_view.xml b/addons/marketing/marketing_view.xml
index cc6200537cf..78f5a742bb6 100644
--- a/addons/marketing/marketing_view.xml
+++ b/addons/marketing/marketing_view.xml
@@ -1,7 +1,7 @@
-
+
@@ -21,6 +21,13 @@
position="attributes">
OpenERP provides tools to automate your leads process, design marketing campaigns and profile efficiently your customers.
+
+ 13
+
+
+
+ Configure
+
diff --git a/addons/marketing_campaign/marketing_campaign_view.xml b/addons/marketing_campaign/marketing_campaign_view.xml
index fb88b6d283d..3e2d7330291 100755
--- a/addons/marketing_campaign/marketing_campaign_view.xml
+++ b/addons/marketing_campaign/marketing_campaign_view.xml
@@ -29,20 +29,20 @@
-
+
-
+
-
+
-
+
+
+
@@ -121,7 +121,7 @@
-
+
@@ -139,19 +139,19 @@
search
-
-
+
+
-
-
+
+
-
-
-
-
+
+
+
+
@@ -165,12 +165,12 @@
{'group_by': [], 'search_default_draft': 1, 'search_default_test': 1}
-
+
-
+
-
+
-
-
-
-
-
-
+
+
-
-
-
+
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
@@ -179,7 +154,7 @@
project.issue.report
form
graph,tree
- {"search_default_This Month":1,"search_default_User":1,"search_default_user_id":uid,'group_by_no_leaf':1,'group_by':[]}
+ {'search_default_This Month':1,'search_default_project':1,'group_by_no_leaf':1,'group_by':[]}
diff --git a/addons/project_issue_sheet/project_issue_sheet.py b/addons/project_issue_sheet/project_issue_sheet.py
index c48ff73b0f0..4027dab3572 100644
--- a/addons/project_issue_sheet/project_issue_sheet.py
+++ b/addons/project_issue_sheet/project_issue_sheet.py
@@ -19,17 +19,7 @@
#
##############################################################################
-import base64
-import os
-import re
-import time
-import mx.DateTime
-from datetime import datetime, timedelta
-
-import tools
-from crm import crm
from osv import fields,osv,orm
-from osv.orm import except_orm
from tools.translate import _
class project_issue(osv.osv):
diff --git a/addons/purchase/__openerp__.py b/addons/purchase/__openerp__.py
index bddd08ea3b7..a0cc87531e6 100644
--- a/addons/purchase/__openerp__.py
+++ b/addons/purchase/__openerp__.py
@@ -34,7 +34,7 @@
'depends': ['base', 'account', 'stock', 'process', 'procurement'],
'init_xml': [],
'update_xml': [
-
+
'security/purchase_security.xml',
'security/ir.model.access.csv',
'purchase_workflow.xml',
diff --git a/addons/purchase/i18n/pl.po b/addons/purchase/i18n/pl.po
index 214ea309fba..09a529c020e 100644
--- a/addons/purchase/i18n/pl.po
+++ b/addons/purchase/i18n/pl.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: 2010-02-18 15:42+0000\n"
+"PO-Revision-Date: 2010-06-04 18:08+0000\n"
"Last-Translator: Grzegorz Grzelak (Cirrus.pl) \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-04-17 03:59+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:35+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: purchase
@@ -195,11 +195,11 @@ msgid ""
msgstr ""
"Stan zamówienia zakupu lub zapytania ofertowego. Zapytanie ofertowe jest "
"zamówieniem zakupu w stanie 'Projekt'. Następnie zamówienie może być "
-"potwierdzone i jego stan zmieni się w 'Zatwierdzone'. Następnie po "
-"potwierdzeniu przez dostawcę stan zmienia się w 'Zaaprobowane'. Kiedy "
+"potwierdzone i jego stan zmieni się w 'Potwierdzone'. Następnie po "
+"zaaprobowaniu przez dostawcę stan zmienia się w 'Zaaprobowane'. Kiedy "
"zamówienie jest zrealizowane i zapłacone stan zmienia się na 'Wykonano'. "
-"Jeśłi wystąpi operacja anulowania lub w trakcie fakturowania lub "
-"przyjmowania towarów, to stan zmieni się na Wyjątek."
+"Jeśli wystąpi operacja anulowania w trakcie fakturowania lub przyjmowania "
+"towarów, to stan zmieni się na Wyjątek."
#. module: purchase
#: field:purchase.order,origin:0
diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py
index be5685aa77d..08507f9dfac 100644
--- a/addons/purchase/purchase.py
+++ b/addons/purchase/purchase.py
@@ -59,12 +59,13 @@ class purchase_order(osv.osv):
val = val1 = 0.0
cur=order.pricelist_id.currency_id
for line in order.order_line:
- for c in self.pool.get('account.tax').compute(cr, uid, line.taxes_id, line.price_unit, line.product_qty, order.partner_address_id.id, line.product_id, order.partner_id):
+ for c in self.pool.get('account.tax').compute_all(cr, uid, line.taxes_id, line.price_unit, line.product_qty, order.partner_address_id.id, line.product_id, order.partner_id)['taxes']:
val+= c['amount']
val1 += line.price_subtotal
res[order.id]['amount_tax']=cur_obj.round(cr, uid, cur, val)
res[order.id]['amount_untaxed']=cur_obj.round(cr, uid, cur, val1)
res[order.id]['amount_total']=res[order.id]['amount_untaxed'] + res[order.id]['amount_tax']
+ print res
return res
def _set_minimum_planned_date(self, cr, uid, ids, name, value, arg, context):
@@ -569,12 +570,14 @@ class purchase_order(osv.osv):
purchase_order()
class purchase_order_line(osv.osv):
- def _amount_line(self, cr, uid, ids, prop, unknow_none,unknow_dict):
+ def _amount_line(self, cr, uid, ids, prop, arg,context):
res = {}
cur_obj=self.pool.get('res.currency')
- for line in self.browse(cr, uid, ids):
+ tax_obj = self.pool.get('account.tax')
+ for line in self.browse(cr, uid, ids, context=context):
+ taxes = tax_obj.compute_all(cr, uid, line.taxes_id, line.price_unit, line.product_qty)
cur = line.order_id.pricelist_id.currency_id
- res[line.id] = cur_obj.round(cr, uid, cur, line.price_unit * line.product_qty)
+ res[line.id] = cur_obj.round(cr, uid, cur, taxes['total'])
return res
_columns = {
@@ -723,22 +726,24 @@ class procurement_order(osv.osv):
po_obj = self.pool.get('purchase.order')
for procurement in self.browse(cr, uid, ids):
res_id = procurement.move_id.id
- partner = procurement.product_id.seller_ids[0].name
- partner_id = partner.id
+ partner_list = sorted([(partner_id.sequence, partner_id) for partner_id in procurement.product_id.seller_ids if partner_id])
+ partner_rec = partner_list and partner_list[0] and partner_list[0][1] or False
+ partner = partner_rec.name or False
+ partner_id = partner_rec.id or False
address_id = partner_obj.address_get(cr, uid, [partner_id], ['delivery'])['delivery']
pricelist_id = partner.property_product_pricelist_purchase.id
uom_id = procurement.product_id.uom_po_id.id
qty = uom_obj._compute_qty(cr, uid, procurement.product_uom.id, procurement.product_qty, uom_id)
- if procurement.product_id.seller_ids[0].qty:
- qty = max(qty,procurement.product_id.seller_ids[0].qty)
+ if partner_rec.qty:
+ qty = max(qty,partner_rec.qty)
price = pricelist_obj.price_get(cr, uid, [pricelist_id], procurement.product_id.id, qty, False, {'uom': uom_id})[pricelist_id]
newdate = DateTime.strptime(procurement.date_planned, '%Y-%m-%d %H:%M:%S')
newdate = newdate - DateTime.RelativeDateTime(days=company.po_lead)
- newdate = newdate - procurement.product_id.seller_ids[0].delay
+ newdate = newdate - partner_rec.delay
#Passing partner_id to context for purchase order line integrity of Line name
context.update({'lang': partner.lang, 'partner_id': partner_id})
diff --git a/addons/purchase/purchase_unit_test.xml b/addons/purchase/purchase_unit_test.xml
index 00678589999..d32f2f30a53 100644
--- a/addons/purchase/purchase_unit_test.xml
+++ b/addons/purchase/purchase_unit_test.xml
@@ -29,7 +29,7 @@
3
-
+
@@ -50,9 +50,11 @@
-
+
+
draft
diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml
index d1b51ea7756..4784ee3660a 100644
--- a/addons/purchase/purchase_view.xml
+++ b/addons/purchase/purchase_view.xml
@@ -23,6 +23,7 @@
name="Incoming Shipments" sequence="9"/>
+
diff --git a/addons/survey/wizard/survey_print.xml b/addons/survey/wizard/survey_print.xml
index 9470a8bfc3b..8f8793e6b1e 100644
--- a/addons/survey/wizard/survey_print.xml
+++ b/addons/survey/wizard/survey_print.xml
@@ -1,9 +1,9 @@
-
+
-
+
Survey Print
survey.print
@@ -35,7 +35,7 @@
new
-
diff --git a/addons/survey/wizard/survey_print_answer.xml b/addons/survey/wizard/survey_print_answer.xml
index fc754fa2e6c..1e34fc1029f 100644
--- a/addons/survey/wizard/survey_print_answer.xml
+++ b/addons/survey/wizard/survey_print_answer.xml
@@ -1,9 +1,9 @@
-
+
-
+
Survey Print Answer
survey.print.answer
@@ -36,7 +36,7 @@
new
-
diff --git a/addons/survey/wizard/survey_print_statistics.xml b/addons/survey/wizard/survey_print_statistics.xml
index 8838a18098c..5659b82e896 100644
--- a/addons/survey/wizard/survey_print_statistics.xml
+++ b/addons/survey/wizard/survey_print_statistics.xml
@@ -1,9 +1,9 @@
-
+
-
+
Survey Print Statistics
survey.print.statistics
@@ -30,7 +30,7 @@
new
-
diff --git a/addons/thunderbird/i18n/hr.po b/addons/thunderbird/i18n/hr.po
index e7accb0d6e0..67e99a7d48f 100644
--- a/addons/thunderbird/i18n/hr.po
+++ b/addons/thunderbird/i18n/hr.po
@@ -8,20 +8,20 @@ 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-03-21 23:36+0000\n"
+"PO-Revision-Date: 2010-06-06 23:47+0000\n"
"Last-Translator: Drazen Bosak \n"
"Language-Team: Vinteh\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:21+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: hr\n"
#. module: thunderbird
#: field:tinythunderbird.partner,copy_to:0
msgid "Copy To"
-msgstr ""
+msgstr "Kopiraj na"
#. module: thunderbird
#: constraint:ir.model:0
diff --git a/addons/warning/i18n/hr.po b/addons/warning/i18n/hr.po
index 53602bfba7d..21b61af3c22 100644
--- a/addons/warning/i18n/hr.po
+++ b/addons/warning/i18n/hr.po
@@ -7,20 +7,20 @@ 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: 2010-03-22 00:56+0000\n"
+"PO-Revision-Date: 2010-06-06 23:49+0000\n"
"Last-Translator: Drazen Bosak \n"
"Language-Team: Vinteh\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-04-17 04:19+0000\n"
+"X-Launchpad-Export-Date: 2010-06-09 03:36+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"Language: hr\n"
#. module: warning
#: field:product.product,purchase_line_warn:0
msgid "Purchase Order Line"
-msgstr ""
+msgstr "Niz Prodajne Narudžbe"
#. module: warning
#: field:product.product,sale_line_warn_msg:0