From 767aaeb8cc7845d868cb2e5d9dda20e7454a8c41 Mon Sep 17 00:00:00 2001
From: Cecile Tonglet
Date: Tue, 3 Dec 2013 10:24:33 +0100
Subject: [PATCH 1/6] [FIX] Wrong error message when data cannot be loaded at
module loading
bzr revid: cto@openerp.com-20131203092433-uu1brp5csqvvd8yh
---
openerp/tools/convert.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openerp/tools/convert.py b/openerp/tools/convert.py
index a64aabf2df6..4598e2e384a 100644
--- a/openerp/tools/convert.py
+++ b/openerp/tools/convert.py
@@ -927,7 +927,7 @@ def convert_csv_import(cr, module, fname, csvcontent, idref=None, mode='init',
result, rows, warning_msg, dummy = pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial)
if result < 0:
# Report failed import and abort module install
- raise Exception(_('Module loading failed: file %s/%s could not be processed:\n %s') % (module, fname, warning_msg))
+ raise Exception(_('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg))
if config.get('import_partial'):
data = pickle.load(file(config.get('import_partial')))
data[fname_partial] = 0
From 0721a21966739a0068f9440c8f2ef85b99bbcb75 Mon Sep 17 00:00:00 2001
From: Denis Ledoux
Date: Wed, 4 Dec 2013 15:59:23 +0100
Subject: [PATCH 2/6] [FIX] base: allow all users (including portals) to change
their avatar
Force readonly="0" on field image in preferences view, otherwise the readonly can be set by access rights.
Preferences are written with the UID 1, if the fields are in the WRITEABLE FIELDS list of the object res_users.
This is why any users can edit their preferences even if they do not have the rights to write on res.users.
Forcing readonly="0" to make fields editable in the form.
bzr revid: dle@openerp.com-20131204145923-f7jwoah722q188d7
---
openerp/addons/base/res/res_users_view.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openerp/addons/base/res/res_users_view.xml b/openerp/addons/base/res/res_users_view.xml
index 7e83b43179f..81dd5feffa8 100644
--- a/openerp/addons/base/res/res_users_view.xml
+++ b/openerp/addons/base/res/res_users_view.xml
@@ -246,7 +246,7 @@
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a adauga o perioada fiscala.\n"
"
\n"
" O perioada contabila este o luna sau un trimestru. De\n"
@@ -496,7 +496,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a crea o rambursare pentru client. \n"
"
\n"
" O rambursare este un document care atribuie o factura "
@@ -1421,7 +1421,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a adauga un cont.\n"
"
\n"
" Atunci cand efectuati tranzactii cu valute multiple, puteti "
@@ -1529,7 +1529,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a crea un registru de numerar nou.\n"
"
\n"
" O casa de marcat va permite sa gestionati intrarile de "
@@ -2097,7 +2097,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a defini un nou tip de cont.\n"
"
\n"
" Tipul de cont este folosit pentru a determina modul in care "
@@ -2425,7 +2425,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a inregistra o noua factura a "
"furnizorului.\n"
"
\n"
@@ -2498,7 +2498,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a inregistra un extras de cont.\n"
"
\n"
" Un extras de cont este un rezumat al tuturor tranzactiilor "
@@ -3370,7 +3370,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a incepe un nou an fiscal.\n"
"
\n"
" Definiti anul fiscal al companiei dumneavoastra in functie "
@@ -4245,7 +4245,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a crea o factura a clientului.\n"
"
\n"
" Facturarea electronica a lui OpenERP permite usurarea si "
@@ -4957,7 +4957,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Dati click pentru a seta un nou cont bancar. \n"
"
\n"
" Configurati contul bancar al companiei dumneavoastra si "
@@ -6414,7 +6414,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a crea o inregistrare in registru.\n"
"
\n"
" O inregistrare in registru consta din mai multe elemente ale "
@@ -6735,7 +6735,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Dati click pentru a adauga un cont.\n"
"
\n"
" Un cont este o parte a unui registru de contabilitate care "
@@ -7024,7 +7024,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a inregistra o rambursare primita de la "
"un furnizor.\n"
"
\n"
@@ -9448,7 +9448,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Dati click pentru a adauga un registru.\n"
"
\n"
" Un registru este utilizat pentru a inregistra tranzactii cu "
@@ -9678,7 +9678,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Dati click pentru a defini o noua inregistrare recurenta.\n"
"
\n"
" O inregistrare recurenta are loc pe o baza recurenta dintr-o "
@@ -11600,7 +11600,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Dati click pentru a defini un nou cod fiscal.\n"
"
\n"
" In functie de tara, un cod fiscal este de obicei o celula "
@@ -11638,7 +11638,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Selectati perioada si registrul pe care doriti sa il "
"completati.\n"
"
\n"
diff --git a/addons/account_voucher/i18n/ro.po b/addons/account_voucher/i18n/ro.po
index cc6f0d112eb..c417a485982 100644
--- a/addons/account_voucher/i18n/ro.po
+++ b/addons/account_voucher/i18n/ro.po
@@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2013-06-07 19:36+0000\n"
-"PO-Revision-Date: 2013-11-30 22:59+0000\n"
+"PO-Revision-Date: 2013-12-05 19:29+0000\n"
"Last-Translator: Dorin \n"
"Language-Team: Romanian \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-12-01 05:45+0000\n"
-"X-Generator: Launchpad (build 16856)\n"
+"X-Launchpad-Export-Date: 2013-12-06 06:24+0000\n"
+"X-Generator: Launchpad (build 16863)\n"
#. module: account_voucher
#: field:account.bank.statement.line,voucher_id:0
@@ -175,7 +175,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a inregistra o chitanta de cumparare. \n"
"
\n"
" Atunci cand este confirmata o chitanta de cumparare, puteti "
@@ -300,7 +300,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a crea o chitanta de vanzari.\n"
"
\n"
" Atunci cand o chitanta de vanzari este confirmata, puteti "
@@ -500,7 +500,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a crea o noua plata a furnizorului.\n"
"
\n"
" OpenERP va ajuta sa urmariti cu usurinta platile pe care le "
@@ -626,7 +626,7 @@ msgid ""
"
\n"
" "
msgstr ""
-"\n"
+"\n"
" Faceti click pentru a inregistra o plata noua. \n"
"
\n"
" Introduceti clientul si metoda de plata, iar apoi sau\n"
diff --git a/addons/hr_payroll/i18n/sl.po b/addons/hr_payroll/i18n/sl.po
index 86c72c19645..0887fec1a69 100644
--- a/addons/hr_payroll/i18n/sl.po
+++ b/addons/hr_payroll/i18n/sl.po
@@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME \n"
"POT-Creation-Date: 2013-06-07 19:36+0000\n"
-"PO-Revision-Date: 2013-11-20 22:05+0000\n"
+"PO-Revision-Date: 2013-12-04 11:06+0000\n"
"Last-Translator: Darja Zorman \n"
"Language-Team: Slovenian \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2013-11-21 06:12+0000\n"
-"X-Generator: Launchpad (build 16831)\n"
+"X-Launchpad-Export-Date: 2013-12-05 06:10+0000\n"
+"X-Generator: Launchpad (build 16863)\n"
#. module: hr_payroll
#: field:hr.payslip.line,condition_select:0
@@ -578,7 +578,7 @@ msgstr ""
#: report:payslip:0
#: field:payslip.lines.contribution.register,date_to:0
msgid "Date To"
-msgstr ""
+msgstr "Datum do"
#. module: hr_payroll
#: selection:hr.payslip.line,condition_select:0
From ac0e22bd6c60a262dfacf565af67c8dedf581898 Mon Sep 17 00:00:00 2001
From: Denis Ledoux
Date: Fri, 6 Dec 2013 12:13:36 +0100
Subject: [PATCH 6/6] [FIX] sale_stock,stock: change model to stock.picking.out
of deliveries to invoice view in sales
Deliveries to invoice in sales menu should display delivery order only (no incoming shipment). This was already the case thanks to the domain [('type','=','out')], but since the refactor of the module stock, and the division of stock.picking to stock.picking.in and stock.picking.out, the model of this view should be stock.picking.out instead of stock.picking (for instance, to get the actions binding (ir.values) of stock.picking.out model).
+ typo fix in action binding
bzr revid: dle@openerp.com-20131206111336-dg01y92jvjnxy5oi
---
addons/sale_stock/stock_view.xml | 2 +-
addons/stock/wizard/stock_invoice_onshipping_view.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/addons/sale_stock/stock_view.xml b/addons/sale_stock/stock_view.xml
index d06526902fd..d4bf4fc4629 100644
--- a/addons/sale_stock/stock_view.xml
+++ b/addons/sale_stock/stock_view.xml
@@ -63,7 +63,7 @@
Deliveries to Invoice
- stock.picking
+ stock.picking.out
ir.actions.act_window
form
tree,form,calendar
diff --git a/addons/stock/wizard/stock_invoice_onshipping_view.xml b/addons/stock/wizard/stock_invoice_onshipping_view.xml
index a65afb377b3..975c5aa2848 100644
--- a/addons/stock/wizard/stock_invoice_onshipping_view.xml
+++ b/addons/stock/wizard/stock_invoice_onshipping_view.xml
@@ -21,7 +21,7 @@
-