From d6563f91b99888a6fe04cbfbd1bea7989b019fdc Mon Sep 17 00:00:00 2001 From: Frederik Kramer Date: Wed, 20 Apr 2016 15:30:49 +0200 Subject: [PATCH 1/2] [CLA] update signature of initos Changes due to changes in the legal form of the company Closes #11759 --- doc/cla/corporate/initos.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/cla/corporate/initos.md b/doc/cla/corporate/initos.md index 0bede7135e2..3c95fe2d07f 100644 --- a/doc/cla/corporate/initos.md +++ b/doc/cla/corporate/initos.md @@ -1,6 +1,6 @@ -Germany, 2015-02-26 +Germany, 2016-04-20 -initOS GmbH & Co. KG agrees to the terms of the Odoo Corporate +initOS GmbH agrees to the terms of the Odoo Corporate Contributor License Agreement v1.0. I declare that I am authorized and able to make this agreement and sign this @@ -8,7 +8,7 @@ declaration. Signed, -Markus Schneider markus.schneider@initos.com https://github.com/OSguard +Frederik Kramer frederik.kramer@initos.com https://github.com/OSevangelist List of contributors: @@ -19,3 +19,5 @@ Frederik Kramer frederik.kramer@initos.com https://github.com/OSevangelist Nikolina Todorova nikolina.todorova@initos.com https://github.com/ntodorova Peter Hahn peter.hahn@initos.com https://github.com/codingforfun Claudia Haida claudia.haida@initos.com +Andreas Zöllner andreas.zoellner@initos.com https://github.com/azoellner +Rami Alwafaie rami.alwafaie@initos.com https://github.com/rami-wafaie From a4c4c43bd9a7cdb0420ec8acd44518f2134a43d9 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Tue, 19 Apr 2016 08:28:25 +0200 Subject: [PATCH 2/2] [FIX] project: make copy overridable in v8 api Without the proper decorator, the method is matched as `cr_ui_context`. This is because the `guess` mechanism expects a name `res_id` instead of `record_id`. For stability reason it is better to add the decorator than modify the signature of the method. Closes #11735 --- addons/project/res_partner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/project/res_partner.py b/addons/project/res_partner.py index dd0c5fe0767..79c58edf824 100644 --- a/addons/project/res_partner.py +++ b/addons/project/res_partner.py @@ -18,7 +18,7 @@ # along with this program. If not, see . # ############################################################################## - +from openerp import api from openerp.osv import fields,osv class res_partner(osv.osv): @@ -36,6 +36,7 @@ class res_partner(osv.osv): 'task_count': fields.function(_task_count, string='# Tasks', type='integer'), } + @api.cr_uid_id_context def copy(self, cr, uid, record_id, default=None, context=None): if default is None: default = {}