From 46638bb9ec95a4a151760d4dff8036f291eeef2b Mon Sep 17 00:00:00 2001 From: Csaba TOTH Date: Tue, 19 Mar 2013 03:06:32 +0100 Subject: [PATCH 1/5] Hides the Create, Delete, Edit possibilities from 'Do Manual Follow-Ups' and 'My Follow-Ups' forms lp bug: https://launchpad.net/bugs/1156938 fixed bzr revid: csaba.toth@i3rendszerhaz.hu-20130319020632-0doqkscx7wd3ervm --- addons/account_followup/account_followup_customers.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_followup/account_followup_customers.xml b/addons/account_followup/account_followup_customers.xml index f15d4da9524..b8cfa03ef5d 100644 --- a/addons/account_followup/account_followup_customers.xml +++ b/addons/account_followup/account_followup_customers.xml @@ -9,7 +9,7 @@ res.partner - + From d088a998b04be8d1f97fdcb9f6e1ab98889a7d8c Mon Sep 17 00:00:00 2001 From: Csaba TOTH Date: Wed, 20 Mar 2013 09:55:55 +0100 Subject: [PATCH 2/5] enable edit, create and delete remains disabled bzr revid: csaba.toth@i3rendszerhaz.hu-20130320085555-v96z7zlh7k103ojm --- addons/account_followup/account_followup_customers.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_followup/account_followup_customers.xml b/addons/account_followup/account_followup_customers.xml index b8cfa03ef5d..260b569e172 100644 --- a/addons/account_followup/account_followup_customers.xml +++ b/addons/account_followup/account_followup_customers.xml @@ -9,7 +9,7 @@ res.partner - + From 1c4bdf3061e7e4474ab50a0a5d197f2f39403854 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Tue, 7 May 2013 13:53:06 +0200 Subject: [PATCH 3/5] [FIX] context is not propagated through account_period.name_search to account_period.search lp bug: https://launchpad.net/bugs/1177348 fixed bzr revid: guewen.baconnier@camptocamp.com-20130507115306-lrnb0t3139lfxtie --- addons/account/account.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index 58c4cf447ef..ea3303dc10c 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -1040,9 +1040,15 @@ class account_period(osv.osv): context = {} ids = [] if name: - ids = self.search(cr, user, [('code','ilike',name)]+ args, limit=limit) + ids = self.search(cr, user, + [('code', 'ilike', name)] + args, + limit=limit, + context=context) if not ids: - ids = self.search(cr, user, [('name',operator,name)]+ args, limit=limit) + ids = self.search(cr, user, + [('name', operator, name)] + args, + limit=limit, + context=context) return self.name_get(cr, user, ids, context=context) def write(self, cr, uid, ids, vals, context=None): From 07cf4d58367dfa77e20c8fb5e0ef6c61ef6ea662 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Tue, 28 May 2013 15:09:06 +0200 Subject: [PATCH 4/5] [FIX] Spelling error and missing call to _() bzr revid: stefan@therp.nl-20130528130906-ciyf3thaw579pqvu --- addons/account_payment/wizard/account_payment_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_payment/wizard/account_payment_order.py b/addons/account_payment/wizard/account_payment_order.py index f4d695a05d1..30a18aa4424 100644 --- a/addons/account_payment/wizard/account_payment_order.py +++ b/addons/account_payment/wizard/account_payment_order.py @@ -108,7 +108,7 @@ class payment_order_create(osv.osv_memory): context.update({'line_ids': line_ids}) model_data_ids = mod_obj.search(cr, uid,[('model', '=', 'ir.ui.view'), ('name', '=', 'view_create_payment_order_lines')], context=context) resource_id = mod_obj.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id'] - return {'name': ('Entrie Lines'), + return {'name': _('Entry Lines'), 'context': context, 'view_type': 'form', 'view_mode': 'form', From 2ed4144abe855e813ad47b34b19ad12ddf92d299 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Tue, 28 May 2013 17:23:03 +0200 Subject: [PATCH 5/5] [FIX] Actually import gettext function bzr revid: stefan@therp.nl-20130528152303-20c281snp5o3bkfq --- addons/account_payment/wizard/account_payment_order.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account_payment/wizard/account_payment_order.py b/addons/account_payment/wizard/account_payment_order.py index 30a18aa4424..49650b47dc3 100644 --- a/addons/account_payment/wizard/account_payment_order.py +++ b/addons/account_payment/wizard/account_payment_order.py @@ -23,6 +23,7 @@ import time from lxml import etree from openerp.osv import fields, osv +from openerp.tools.translate import _ class payment_order_create(osv.osv_memory): """