From 0ac081ca597c9b491dc50f9c3acee92ef9869e02 Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Wed, 9 May 2012 16:26:41 +0530 Subject: [PATCH 001/152] [FIX]stock: fix the issue of return picking wizard lp bug: https://launchpad.net/bugs/997028 fixed bzr revid: mma@tinyerp.com-20120509105641-9ijemxgekhif76zc --- addons/stock/wizard/stock_return_picking.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/stock/wizard/stock_return_picking.py b/addons/stock/wizard/stock_return_picking.py index 689f17cd9b9..8cfe4342327 100644 --- a/addons/stock/wizard/stock_return_picking.py +++ b/addons/stock/wizard/stock_return_picking.py @@ -100,7 +100,8 @@ class stock_return_picking(osv.osv_memory): valid_lines = 0 return_history = self.get_return_history(cr, uid, record_id, context) for m in pick.move_lines: - if m.product_qty * m.product_uom.factor > return_history[m.id]: + if return_history: + if m.product_qty * m.product_uom.factor > return_history[m.id]: valid_lines += 1 if not valid_lines: raise osv.except_osv(_('Warning !'), _("There are no products to return (only lines in Done state and not fully returned yet can be returned)!")) From 815ea021d8cec91331c2815cc1a9812a2eb1750c Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Mon, 27 Aug 2012 16:40:13 +0530 Subject: [PATCH 002/152] [IMP]stock:improve condition bzr revid: mma@tinyerp.com-20120827111013-x5xlu56cxtm5lqf0 --- addons/stock/wizard/stock_return_picking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/wizard/stock_return_picking.py b/addons/stock/wizard/stock_return_picking.py index 8cfe4342327..203db7232f1 100644 --- a/addons/stock/wizard/stock_return_picking.py +++ b/addons/stock/wizard/stock_return_picking.py @@ -100,7 +100,7 @@ class stock_return_picking(osv.osv_memory): valid_lines = 0 return_history = self.get_return_history(cr, uid, record_id, context) for m in pick.move_lines: - if return_history: + if return_history and return_history.get(m.id): if m.product_qty * m.product_uom.factor > return_history[m.id]: valid_lines += 1 if not valid_lines: From 0a9c1b54ca80d0cc942f99cd18539b89d5385449 Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Mon, 10 Sep 2012 16:14:22 +0530 Subject: [PATCH 003/152] [IMP]stock : improve code which is more batter for return picking bzr revid: mma@tinyerp.com-20120910104422-1s9h1fq25ud2iwvs --- addons/stock/wizard/stock_return_picking.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/stock/wizard/stock_return_picking.py b/addons/stock/wizard/stock_return_picking.py index bc6acfaa1cc..80cc5a4a368 100644 --- a/addons/stock/wizard/stock_return_picking.py +++ b/addons/stock/wizard/stock_return_picking.py @@ -100,8 +100,7 @@ class stock_return_picking(osv.osv_memory): valid_lines = 0 return_history = self.get_return_history(cr, uid, record_id, context) for m in pick.move_lines: - if return_history and return_history.get(m.id): - if m.product_qty * m.product_uom.factor > return_history[m.id]: + if (return_history.get(m.id) is not None) and (m.product_qty * m.product_uom.factor > return_history[m.id]): valid_lines += 1 if not valid_lines: raise osv.except_osv(_('Warning!'), _("No products to return (only lines in Done state and not fully returned yet can be returned)!")) From af1df4d5cd44a176b1ea933c18963bd8b36f0db9 Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Tue, 11 Sep 2012 14:09:19 +0530 Subject: [PATCH 004/152] [FIX]product:search method added for searching products by category bzr revid: kbh@tinyerp.com-20120911083919-cwenu6oum79oa7do --- addons/product/product.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/addons/product/product.py b/addons/product/product.py index c9345a22103..ac62ef129c4 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -743,6 +743,14 @@ class product_product(osv.osv): else: return super(product_product, self).copy(cr, uid, id, default=default, context=context) + + def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False): + if context is None: + context = {} + if context and context.get('search_default_categ_id', False): + args.append((('categ_id', 'child_of', context['search_default_categ_id']))) + return super(product_product, self).search(cr, uid, args, offset, limit, order, context, count) + product_product() class product_packaging(osv.osv): From 6fca7f4abef5e4a54b77de1ec49a2c351ca8f63e Mon Sep 17 00:00:00 2001 From: "Randhir Mayatra (OpenERP)" Date: Tue, 11 Sep 2012 18:57:24 +0530 Subject: [PATCH 005/152] [IMP] improve the placeholder text bzr revid: rma@tinyerp.com-20120911132724-nc201qmgoicvknmt --- openerp/addons/base/res/res_partner_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/res/res_partner_view.xml b/openerp/addons/base/res/res_partner_view.xml index a79610b7a18..6b8354214bf 100644 --- a/openerp/addons/base/res/res_partner_view.xml +++ b/openerp/addons/base/res/res_partner_view.xml @@ -216,7 +216,7 @@ - + From c0a3cbac504d4ad35b6f5111e2b235dfaab31dd8 Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Fri, 14 Sep 2012 15:49:47 +0530 Subject: [PATCH 006/152] [IMP]stock : set a proper indentation bzr revid: mma@tinyerp.com-20120914101947-cbrdfp0iatq6r0a6 --- addons/stock/wizard/stock_return_picking.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/wizard/stock_return_picking.py b/addons/stock/wizard/stock_return_picking.py index 80cc5a4a368..bc4cf652cdb 100644 --- a/addons/stock/wizard/stock_return_picking.py +++ b/addons/stock/wizard/stock_return_picking.py @@ -100,8 +100,8 @@ class stock_return_picking(osv.osv_memory): valid_lines = 0 return_history = self.get_return_history(cr, uid, record_id, context) for m in pick.move_lines: - if (return_history.get(m.id) is not None) and (m.product_qty * m.product_uom.factor > return_history[m.id]): - valid_lines += 1 + if (return_history.get(m.id) is not None) and (m.product_qty * m.product_uom.factor > return_history[m.id]): + valid_lines += 1 if not valid_lines: raise osv.except_osv(_('Warning!'), _("No products to return (only lines in Done state and not fully returned yet can be returned)!")) return res From 0e3577dcbfc0a4aad725cf51c7919d7ce3136b08 Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Mon, 17 Sep 2012 11:23:57 +0530 Subject: [PATCH 007/152] [IMP] crm_claim, crm_helpdesk : After Sales Service menu (helpdesk and claims) moved from Project to Sales menu. bzr revid: mdi@tinyerp.com-20120917055357-q7c144zboqzg74jf --- addons/crm_claim/crm_claim_menu.xml | 2 +- addons/crm_helpdesk/crm_helpdesk_menu.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/crm_claim/crm_claim_menu.xml b/addons/crm_claim/crm_claim_menu.xml index bb881d62a58..3782a3a7c00 100644 --- a/addons/crm_claim/crm_claim_menu.xml +++ b/addons/crm_claim/crm_claim_menu.xml @@ -10,7 +10,7 @@ + parent="base.menu_base_partner" sequence="2" /> diff --git a/addons/crm_helpdesk/crm_helpdesk_menu.xml b/addons/crm_helpdesk/crm_helpdesk_menu.xml index b70662e3339..0a9644ff8f9 100644 --- a/addons/crm_helpdesk/crm_helpdesk_menu.xml +++ b/addons/crm_helpdesk/crm_helpdesk_menu.xml @@ -3,11 +3,11 @@ - - + From a49acd9fcadc6c0ed4bb39489ace3dd0c36f6315 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Mon, 17 Sep 2012 11:53:26 +0530 Subject: [PATCH 008/152] [IMP] stock: update warning message for stock in serial number bzr revid: cha@tinyerp.com-20120917062326-ony3gx9k2o871kq3 --- addons/stock/stock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 31d5a68c9fe..9cdbc97c115 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1804,8 +1804,8 @@ class stock_move(osv.osv): warning = {} if (location.usage == 'internal') and (product_qty > (amount_actual or 0.0)): warning = { - 'title': _('Insufficient Stock in Lot !'), - 'message': _('You are moving %.2f %s products but only %.2f %s available in this lot.') % (product_qty, uom.name, amount_actual, uom.name) + 'title': _('Insufficient Stock in Serial Number !'), + 'message': _('You are moving %.2f %s products but only %.2f %s available in this serial number.') % (product_qty, uom.name, amount_actual, uom.name) } return {'warning': warning} From ba4857238c07c105016f8de070c3e5f42aea94d6 Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Mon, 17 Sep 2012 12:20:22 +0530 Subject: [PATCH 009/152] [IMP] Customer form view: uncheck Customer, how to check again? Sales & Purchases disappears. bzr revid: mdi@tinyerp.com-20120917065022-h7gtgv9rf3s62fge --- openerp/addons/base/res/res_partner_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/res/res_partner_view.xml b/openerp/addons/base/res/res_partner_view.xml index 906232c86ab..51e17fab088 100644 --- a/openerp/addons/base/res/res_partner_view.xml +++ b/openerp/addons/base/res/res_partner_view.xml @@ -249,7 +249,7 @@ - + From c8e57c8c059bf842fdeae0fc813fb2ae1c970ef8 Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Mon, 17 Sep 2012 12:23:36 +0530 Subject: [PATCH 010/152] [IMP] stock: change string for ok button & add cancel button in wizard bzr revid: cha@tinyerp.com-20120917065336-f1yw01itbx2ka32o --- addons/stock/wizard/stock_move_view.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/stock/wizard/stock_move_view.xml b/addons/stock/wizard/stock_move_view.xml index 3df336b5e30..5dc0d0d824c 100644 --- a/addons/stock/wizard/stock_move_view.xml +++ b/addons/stock/wizard/stock_move_view.xml @@ -109,7 +109,9 @@
-
From 066b30e5c8ec5a19e331b2f41237f8443bb77c6c Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Mon, 17 Sep 2012 14:14:36 +0530 Subject: [PATCH 011/152] [IMP] base_calendar : Improved the Invitation Wizard View. bzr revid: mdi@tinyerp.com-20120917084436-00kqv09ueod3h709 --- .../base_calendar_invite_attendee_view.xml | 43 ++++++++++--------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/addons/base_calendar/wizard/base_calendar_invite_attendee_view.xml b/addons/base_calendar/wizard/base_calendar_invite_attendee_view.xml index 5510259a7a7..e3f07fee833 100644 --- a/addons/base_calendar/wizard/base_calendar_invite_attendee_view.xml +++ b/addons/base_calendar/wizard/base_calendar_invite_attendee_view.xml @@ -9,27 +9,28 @@ base_calendar.invite.attendee
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
- -
- - - -

- You must configure the etherpad through the menu Setting > Companies > Companies, in the configuration tab of your company.
-

-
+ + + + +
+

+ You must configure the etherpad through the menu Setting > Companies > Companies, in the configuration tab of your company. +

+
+
+ + + +
+
+
+
+
+ + +
+
+ Ñ +
+
+
+
+
+
+
+ From 4d65e16e60ac552474cb4b7037e14584544cc211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Mon, 24 Sep 2012 16:11:44 +0200 Subject: [PATCH 090/152] [FIX] calendar overflow bzr revid: fva@openerp.com-20120924141144-a5msie519hh9nl23 --- addons/web_calendar/static/src/css/web_calendar.css | 9 +++++++++ addons/web_calendar/static/src/js/calendar.js | 10 ++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/addons/web_calendar/static/src/css/web_calendar.css b/addons/web_calendar/static/src/css/web_calendar.css index b7008a5bd91..52ea63e787e 100644 --- a/addons/web_calendar/static/src/css/web_calendar.css +++ b/addons/web_calendar/static/src/css/web_calendar.css @@ -1,5 +1,14 @@ +.oe_view_manager_view_calendar { + position: relative; +} .oe_calendar_table { + position: absolute; + left: 0px; + right: 0px; + top: 0px; border-top: 3px solid #eee; + width:100%; + overflow: hidden; } .oe_calendar { background-color:#eee; diff --git a/addons/web_calendar/static/src/js/calendar.js b/addons/web_calendar/static/src/js/calendar.js index c3a9a25745e..5eb966aa315 100644 --- a/addons/web_calendar/static/src/js/calendar.js +++ b/addons/web_calendar/static/src/js/calendar.js @@ -172,8 +172,7 @@ instance.web_calendar.CalendarView = instance.web.View.extend({ scheduler.init(this.$el.find('.oe_calendar')[0], null, this.mode || 'month'); - // Remove hard coded style attributes from dhtmlx scheduler - this.$el.find(".dhx_cal_navline div").removeAttr('style'); + scheduler.detachAllEvents(); scheduler.attachEvent('onEventAdded', this.do_create_event); @@ -184,12 +183,19 @@ instance.web_calendar.CalendarView = instance.web.View.extend({ scheduler.attachEvent('onViewChange', this.on_view_changed); this.refresh_scheduler(); + + // Remove hard coded style attributes from dhtmlx scheduler + this.$el.find(".dhx_cal_navline").removeAttr('style'); + instance.web.bus.on('resize',this,function(){ + self.$el.find(".dhx_cal_navline").removeAttr('style'); + }); }, on_view_changed: function(mode, date) { this.$el.find('.oe_calendar').removeClass('oe_cal_day oe_cal_week oe_cal_month').addClass('oe_cal_' + mode); if (!date.between(this.range_start, this.range_stop)) { this.update_range_dates(date); this.do_ranged_search(); + this.$el.find(".dhx_cal_navline div").removeAttr('style'); } this.ready.resolve(); }, From bd4802fd6e73a087a8b41241068c90b41a6baff9 Mon Sep 17 00:00:00 2001 From: "Atul Patel (OpenERP)" Date: Mon, 24 Sep 2012 23:39:49 +0530 Subject: [PATCH 091/152] [ADD]: Add tips for users bzr revid: atp@tinyerp.com-20120924180949-dtnqnsowrw2hogcv --- addons/crm/crm_view.xml | 2 +- addons/hr/hr_view.xml | 1 + addons/mail/static/src/js/mail_followers.js | 2 ++ addons/mail/static/src/xml/mail_followers.xml | 5 +++++ addons/project/project_view.xml | 2 +- 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/addons/crm/crm_view.xml b/addons/crm/crm_view.xml index 373844a08af..63f709f1290 100644 --- a/addons/crm/crm_view.xml +++ b/addons/crm/crm_view.xml @@ -117,7 +117,7 @@
- +
diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 5d4c2ae9d45..556411fdab4 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -44,6 +44,7 @@ + As Manager of this employee, you will automatically follow all human resource request of this employee diff --git a/addons/mail/static/src/js/mail_followers.js b/addons/mail/static/src/js/mail_followers.js index cf33bd64640..3527313a72c 100644 --- a/addons/mail/static/src/js/mail_followers.js +++ b/addons/mail/static/src/js/mail_followers.js @@ -23,9 +23,11 @@ openerp_mail_followers = function(session, mail) { template: 'mail.followers', init: function() { + this._super.apply(this, arguments); this.options.image = this.node.attrs.image || 'image_small'; this.options.title = this.node.attrs.title || 'Followers'; + this.options.context = this.node.attrs.context; this.ds_model = new session.web.DataSetSearch(this, this.view.model); this.ds_follow = new session.web.DataSetSearch(this, this.field.relation); }, diff --git a/addons/mail/static/src/xml/mail_followers.xml b/addons/mail/static/src/xml/mail_followers.xml index 32ce34d48d1..7b51404825a 100644 --- a/addons/mail/static/src/xml/mail_followers.xml +++ b/addons/mail/static/src/xml/mail_followers.xml @@ -12,6 +12,11 @@
+ + +
+
+

diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index 93d01a5619b..462f622fa03 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -153,7 +153,7 @@
- +
From 55315e418aa79c1d0cb0df9c074f34e86aa37787 Mon Sep 17 00:00:00 2001 From: "Atul Patel (OpenERP)" Date: Tue, 25 Sep 2012 07:07:47 +0530 Subject: [PATCH 092/152] [FIX]: remove context from expense and set condition for null followers in issue bzr revid: atp@tinyerp.com-20120925013747-o09k9bfwg83l0a41 --- addons/hr_expense/hr_expense.py | 4 ++-- addons/project_issue/project_issue.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/hr_expense/hr_expense.py b/addons/hr_expense/hr_expense.py index a46f2250b5c..f8fa8d9caff 100644 --- a/addons/hr_expense/hr_expense.py +++ b/addons/hr_expense/hr_expense.py @@ -118,9 +118,9 @@ class hr_expense_expense(osv.osv): return {'value': {'department_id': department_id, 'company_id': company_id}} def expense_confirm(self, cr, uid, ids, *args): - for expense in self.browse(cr, uid, ids, context=context): + for expense in self.browse(cr, uid, ids): if expense.employee_id and expense.employee_id.parent_id and expense.employee_id.parent_id.user_id: - self.message_subscribe(cr, uid, [expense.id], [expense.employee_id.parent_id.user_id.id], context=context) + self.message_subscribe(cr, uid, [expense.id], [expense.employee_id.parent_id.user_id.id]) self.write(cr, uid, ids, { 'state':'confirm', 'date_confirm': time.strftime('%Y-%m-%d') diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index 805d29eb98d..5c9245de836 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -383,7 +383,7 @@ class project_issue(base_stage, osv.osv): obj_id = super(project_issue, self).create(cr, uid, vals, context=context) project_obj = self.pool.get("project.project") project_id = self.browse(cr, uid, obj_id, context=context).project_id - followers = [follower.id for follower in project_id.message_follower_ids] + followers = [follower.id for follower in project_id.message_follower_ids if project_id.message_follower_ids] self.message_subscribe(cr, uid, [obj_id], followers, context=context) self.create_send_note(cr, uid, [obj_id], context=context) return obj_id From f8df69e807d85aa9103e149ef534d96c9d32a955 Mon Sep 17 00:00:00 2001 From: "Atul Patel (OpenERP)" Date: Tue, 25 Sep 2012 08:05:02 +0530 Subject: [PATCH 093/152] [FIX]: Fix id and None project_id problem bzr revid: atp@tinyerp.com-20120925023502-s114b6811pxm84kg --- addons/project_issue/project_issue.py | 5 +++-- addons/sale_crm/sale_crm.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index 5c9245de836..18ab392dd79 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -383,8 +383,9 @@ class project_issue(base_stage, osv.osv): obj_id = super(project_issue, self).create(cr, uid, vals, context=context) project_obj = self.pool.get("project.project") project_id = self.browse(cr, uid, obj_id, context=context).project_id - followers = [follower.id for follower in project_id.message_follower_ids if project_id.message_follower_ids] - self.message_subscribe(cr, uid, [obj_id], followers, context=context) + if project_id: + followers = [follower.id for follower in project_id.message_follower_ids] + self.message_subscribe(cr, uid, [obj_id], followers, context=context) self.create_send_note(cr, uid, [obj_id], context=context) return obj_id diff --git a/addons/sale_crm/sale_crm.py b/addons/sale_crm/sale_crm.py index b7bd064563d..d2c8358263e 100644 --- a/addons/sale_crm/sale_crm.py +++ b/addons/sale_crm/sale_crm.py @@ -35,7 +35,7 @@ class sale_order(osv.osv): section_id = self.browse(cr, uid, order, context=context).section_id if section_id: followers = [follow.id for follow in section_id.message_follower_ids] - self.message_subscribe(cr, uid, [order.id], followers, context=context) + self.message_subscribe(cr, uid, [order], followers, context=context) return order sale_order() From ff126c5013bbcca60754e2815c243aa6ae73aca6 Mon Sep 17 00:00:00 2001 From: "Atul Patel (OpenERP)" Date: Tue, 25 Sep 2012 10:23:58 +0530 Subject: [PATCH 094/152] [FIX]: Add oe_grey class bzr revid: atp@tinyerp.com-20120925045358-ch8rp3gjw8w5o4d0 --- addons/hr/hr_view.xml | 2 +- addons/mail/static/src/xml/mail_followers.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 556411fdab4..9924b75acea 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -44,7 +44,7 @@ - As Manager of this employee, you will automatically follow all human resource request of this employee + As Manager of this employee, you will automatically follow all human resource request of this employee diff --git a/addons/mail/static/src/xml/mail_followers.xml b/addons/mail/static/src/xml/mail_followers.xml index 7b51404825a..e8a6a2aa910 100644 --- a/addons/mail/static/src/xml/mail_followers.xml +++ b/addons/mail/static/src/xml/mail_followers.xml @@ -11,12 +11,12 @@
+
+ +
+
+
- - -
-
-

From c4479b8c953d1d42ffb6f386091a2d596f8a79b1 Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Tue, 25 Sep 2012 10:59:28 +0530 Subject: [PATCH 095/152] [IMP] base_calendar: When an invited person is accepted, it should appear in attendee. bzr revid: mdi@tinyerp.com-20120925052928-0o3renqjqhzr0rno --- addons/base_calendar/base_calendar.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index 269c30a9bea..58dbe707e7d 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -568,11 +568,13 @@ property or property parameter."), res = cr.fetchone() if res: partner_ids = [partner.id for partner in meeting_obj.browse(cr, uid, res[0], context=context).partner_ids] - if vals.user_id: - partner_ids.append(vals.user_id.partner_id.id) + if vals.user_id and vals.user_id.partner_id: + if vals.user_id.partner_id.id not in partner_ids: + partner_ids.append(vals.user_id.partner_id.id) meeting_obj.write(cr, uid, res[0], {'partner_ids': [(6, 0, partner_ids)]}) if vals.partner_id: - partner_ids.append(vals.partner_id.id) + if vals.partner_id.id not in partner_ids: + partner_ids.append(vals.partner_id.id) meeting_obj.write(cr, uid, res[0], {'partner_ids': [(6, 0, partner_ids)]}) return True From c81bab9a8c63d7ae18a4147395c3580298fc2d40 Mon Sep 17 00:00:00 2001 From: "Pinakin Nayi (OpenERP)" Date: Tue, 25 Sep 2012 11:48:37 +0530 Subject: [PATCH 096/152] [IMP]put button in condition bzr revid: pna@tinyerp.com-20120925061837-sl090l2n1y8gzb0e --- addons/web/static/src/js/view_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 86b101acf30..63ef9d6723c 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -169,8 +169,8 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM }); //bounce effect on red button when click on statusbar. this.$el.find(".oe_form_field_status:not(.oe_form_status_clickable)").on('click', function (e) { - var $button = self.$el.find(".oe_highlight:not(.oe_form_invisible)").css({'float':'left','clear':'none'}); if((self.get("actual_mode") == "view")) { + var $button = self.$el.find(".oe_highlight:not(.oe_form_invisible)").css({'float':'left','clear':'none'}); $button.effect('bounce', {distance:18, times: 5}, 150); e.stopPropagation(); } From 5e7deadf24521caeae5566253d85a91ff3c385ba Mon Sep 17 00:00:00 2001 From: "Ajay Chauhan (OpenERP)" Date: Tue, 25 Sep 2012 11:56:57 +0530 Subject: [PATCH 097/152] [IMP] stock: update warning message for serial number bzr revid: cha@tinyerp.com-20120925062657-bz3ho9tx3oriuamy --- addons/stock/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 03d8a802f4f..b5a6c74826a 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1839,7 +1839,7 @@ class stock_move(osv.osv): if (location.usage == 'internal') and (product_qty > (amount_actual or 0.0)): warning = { 'title': _('Insufficient Stock for Serial Number !'), - 'message': _('You are moving %.2f %s products but only %.2f %s available for this serial number.') % (product_qty, uom.name, amount_actual, uom.name) + 'message': _('You are moving %.2f %s but only %.2f %s available for this serial number.') % (product_qty, uom.name, amount_actual, uom.name) } return {'warning': warning} From 7e3367ccc551c81474dd94f7ad505e25ab81ddca Mon Sep 17 00:00:00 2001 From: Hardik Date: Tue, 25 Sep 2012 12:10:30 +0530 Subject: [PATCH 098/152] [IMP]MRP : Add context in product action bzr revid: hsa@tinyerp.com-20120925064030-ts2zed5vkznj9puj --- addons/mrp/mrp_view.xml | 5 ++--- addons/product/product_view.xml | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index 26f3b7fadc2..c003711ceb1 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -516,12 +516,11 @@ Products - ir.actions.act_window product.product form kanban,tree,form - - + {'search_default_filter_supply_method_produce' : 1} + diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index d04e6f17fe8..ea4308152c0 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -16,6 +16,7 @@ + From 2ea34c71f8e9a7ae84e6cff31862469027e19dd8 Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Tue, 25 Sep 2012 12:26:19 +0530 Subject: [PATCH 099/152] [IMP] product : Override create and write method in order to check 'Min margin' and 'Max margin'. bzr revid: mdi@tinyerp.com-20120925065619-g2n8h78ioou3q7ch --- addons/product/pricelist.py | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index 14392c79f10..c011dcd3aa6 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -436,23 +436,42 @@ class product_pricelist_item(osv.osv): return {} def create(self, cr, uid, vals, context=None): - name = vals.get('name', '') + name = vals.get('name', False) + sequence = vals.get('sequence', False) price_min_margin = vals.get('price_min_margin', 0.0) price_max_margin = vals.get('price_max_margin', 0.0) if price_min_margin > price_max_margin: - raise osv.except_osv(_('Warning!'), _('Minimum margin must be lower than maximum margin in \'%s\' pricelist rule!') % (name)) + if name: + raise osv.except_osv(_('Warning!'), _('Minimum margin must be lower than maximum margin for pricelist rule: \'%s\'(sequence: %s).') % (name, sequence)) + else: + raise osv.except_osv(_('Warning!'), _('Minimum margin must be lower than maximum margin for pricelist rule having sequence %s.') % (sequence)) return super(product_pricelist_item, self).create(cr, uid, vals, context=context) def write(self, cr, uid, ids, vals, context=None): - price_min_margin = vals.get('price_min_margin', 0.0) - price_max_margin = vals.get('price_max_margin', 0.0) for rule in self.browse(cr, uid, ids, context=context): - name = rule.name + if vals.get('name', False): + name = vals['name'] + else: + name = rule.name + if vals.get('sequence', False): + sequence = vals['sequence'] + else: + sequence = rule.sequence + if vals.get('price_min_margin', False): + price_min_margin = vals['price_min_margin'] + else: + price_min_margin = rule.price_min_margin + if vals.get('price_max_margin', False): + price_max_margin = vals['price_max_margin'] + else: + price_max_margin = rule.price_max_margin if price_min_margin > price_max_margin: - raise osv.except_osv(_('Warning!'), _('Minimum margin must be lower than maximum margin in \'%s\' pricelist rule!') % (name)) + if name: + raise osv.except_osv(_('Warning!'), _('Minimum margin must be lower than maximum margin for pricelist rule: \'%s\'(sequence: %s).') % (name, sequence)) + else: + raise osv.except_osv(_('Warning!'), _('Minimum margin must be lower than maximum margin for pricelist rule having sequence %s.') % (sequence)) return super(product_pricelist_item, self).write(cr, uid, ids, vals, context=context) - product_pricelist_item() From 2fd06a53de196ca2d85c6530962b34e14e833e06 Mon Sep 17 00:00:00 2001 From: "RGA(OpenERP)" <> Date: Tue, 25 Sep 2012 12:37:43 +0530 Subject: [PATCH 100/152] fix typo bzr revid: rgaopenerp-20120925070743-5wg90i03onym8826 --- addons/document/static/src/js/document.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/document/static/src/js/document.js b/addons/document/static/src/js/document.js index 0a99fd4ef56..2dde2696c81 100644 --- a/addons/document/static/src/js/document.js +++ b/addons/document/static/src/js/document.js @@ -1,9 +1,9 @@ openerp.document = function (instance) { _t = instance.web._t; - instance.web.SidebarAttachement =instance.web.Sidebar.include({ + instance.web.Sidebar.include({ init : function(){ this._super.apply(this, arguments); - this.sections. splice(1, 0, { 'name' : 'files', 'label' : _t('Attachment(s)'), }); + this.sections.splice(1, 0, { 'name' : 'files', 'label' : _t('Attachment(s)'), }); this.items['files'] = []; } }); From 974935a6f87195ee75a02fc20f88edc400133920 Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Tue, 25 Sep 2012 12:41:37 +0530 Subject: [PATCH 101/152] [IMP] product : Override create and write method in order to check 'Min margin' and 'Max margin'. bzr revid: mdi@tinyerp.com-20120925071137-dchr17sj1nzxginy --- addons/product/pricelist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index c011dcd3aa6..d44899d0688 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -449,7 +449,7 @@ class product_pricelist_item(osv.osv): def write(self, cr, uid, ids, vals, context=None): for rule in self.browse(cr, uid, ids, context=context): - if vals.get('name', False): + if vals.has_key('name'): name = vals['name'] else: name = rule.name From 5d910cc881691510df33f223aceb40fc2cda0768 Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Tue, 25 Sep 2012 12:57:01 +0530 Subject: [PATCH 102/152] [IMP] product : Override create and write method in order to check 'Min margin' and 'Max margin'. bzr revid: mdi@tinyerp.com-20120925072701-6nus286naxzujp1e --- addons/product/pricelist.py | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index d44899d0688..a0d8ce8170d 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -448,22 +448,20 @@ class product_pricelist_item(osv.osv): return super(product_pricelist_item, self).create(cr, uid, vals, context=context) def write(self, cr, uid, ids, vals, context=None): + name = None + if vals.has_key('name'): + name = vals['name'] + sequence = vals.get('sequence', False) + price_min_margin = vals.get('price_min_margin', 0.0) + price_max_margin = vals.get('price_max_margin', 0.0) for rule in self.browse(cr, uid, ids, context=context): - if vals.has_key('name'): - name = vals['name'] - else: + if name is None: name = rule.name - if vals.get('sequence', False): - sequence = vals['sequence'] - else: + if not sequence: sequence = rule.sequence - if vals.get('price_min_margin', False): - price_min_margin = vals['price_min_margin'] - else: + if not price_min_margin: price_min_margin = rule.price_min_margin - if vals.get('price_max_margin', False): - price_max_margin = vals['price_max_margin'] - else: + if not price_max_margin: price_max_margin = rule.price_max_margin if price_min_margin > price_max_margin: if name: From 325115166bf68b01a6ec79e95d8f1f5923679d44 Mon Sep 17 00:00:00 2001 From: "Rajesh Prajapati (OpenERP)" Date: Tue, 25 Sep 2012 13:06:45 +0530 Subject: [PATCH 103/152] [IMP] account_voucher : made the o2m visible only if the o2m is not empty bzr revid: rpr@tinyerp.com-20120925073645-58cwpq600ua7ei3q --- addons/account_voucher/voucher_payment_receipt_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account_voucher/voucher_payment_receipt_view.xml b/addons/account_voucher/voucher_payment_receipt_view.xml index c41ed6d5577..9d2b799f337 100644 --- a/addons/account_voucher/voucher_payment_receipt_view.xml +++ b/addons/account_voucher/voucher_payment_receipt_view.xml @@ -155,7 +155,7 @@ - + - + Date: Tue, 25 Sep 2012 14:19:49 +0530 Subject: [PATCH 104/152] [IMP] account_voucher : from invoice form the tab "payment information" tab visible bzr revid: rpr@tinyerp.com-20120925084949-7o3n24opjimhi7fk --- addons/account_voucher/account_voucher_pay_invoice.xml | 6 +++--- addons/account_voucher/voucher_payment_receipt_view.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/account_voucher/account_voucher_pay_invoice.xml b/addons/account_voucher/account_voucher_pay_invoice.xml index 323be77f334..456c1b6fddc 100644 --- a/addons/account_voucher/account_voucher_pay_invoice.xml +++ b/addons/account_voucher/account_voucher_pay_invoice.xml @@ -8,9 +8,9 @@
- -
-
- - - - - - Invite Attendees - ir.actions.act_window - base_calendar.invite.attendee - form - form - new - - - - diff --git a/addons/base_crypt/__openerp__.py b/addons/base_crypt/__openerp__.py index d0252f6810c..97f6c98aeb8 100644 --- a/addons/base_crypt/__openerp__.py +++ b/addons/base_crypt/__openerp__.py @@ -58,7 +58,6 @@ will disable LDAP authentication completely if installed at the same time. 'data': [], 'auto_install': False, 'installable': True, - 'certificate': '00721290471310299725', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_iban/__openerp__.py b/addons/base_iban/__openerp__.py index 76c397586c9..7f966255bbf 100644 --- a/addons/base_iban/__openerp__.py +++ b/addons/base_iban/__openerp__.py @@ -35,7 +35,6 @@ with a single statement. 'data': ['base_iban_data.xml' , 'base_iban_view.xml'], 'installable': True, 'auto_install': False, - 'certificate': '0050014379549', 'images': ['images/base_iban1.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_module_doc_rst/__openerp__.py b/addons/base_module_doc_rst/__openerp__.py index 100a90dbd96..f1de13bc7f0 100644 --- a/addons/base_module_doc_rst/__openerp__.py +++ b/addons/base_module_doc_rst/__openerp__.py @@ -42,7 +42,6 @@ This module generates the Technical Guides of selected modules in Restructured T ], 'demo': [], 'installable': True, - 'certificate': '001288481437217734509', 'images': ['images/base_module_doc_rst1.jpeg'], } diff --git a/addons/base_module_record/__openerp__.py b/addons/base_module_record/__openerp__.py index 00af464b3ee..532dcfc932e 100644 --- a/addons/base_module_record/__openerp__.py +++ b/addons/base_module_record/__openerp__.py @@ -53,7 +53,6 @@ Select datetime criteria of recording and objects to be recorded and Record modu ], 'demo': [], 'installable': True, - 'certificate': '0083134865813', 'images': ['images/base_module_record1.jpeg','images/base_module_record2.jpeg','images/base_module_record3.jpeg',] } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_report_designer/__openerp__.py b/addons/base_report_designer/__openerp__.py index 3e0ca2152da..36e15c96877 100644 --- a/addons/base_report_designer/__openerp__.py +++ b/addons/base_report_designer/__openerp__.py @@ -38,7 +38,6 @@ Once you have modified it you can upload the report using the same wizard. 'demo': [], 'installable': True, 'auto_install': False, - 'certificate': '0056379010493', 'images': ['images/base_report_designer1.jpeg','images/base_report_designer2.jpeg',], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_setup/__openerp__.py b/addons/base_setup/__openerp__.py index cf69933c84a..de2d8236ece 100644 --- a/addons/base_setup/__openerp__.py +++ b/addons/base_setup/__openerp__.py @@ -43,7 +43,6 @@ Shows you a list of applications features to install from. 'demo': [], 'installable': True, 'auto_install': False, - 'certificate': '0086711085869', 'images': ['images/base_setup1.jpeg','images/base_setup2.jpeg','images/base_setup3.jpeg','images/base_setup4.jpeg',], 'js': ['static/src/js/base_setup.js'], 'css': ['static/src/css/base_setup.css'], diff --git a/addons/base_tools/__openerp__.py b/addons/base_tools/__openerp__.py index 84f10e78959..71f6cbe549c 100644 --- a/addons/base_tools/__openerp__.py +++ b/addons/base_tools/__openerp__.py @@ -13,7 +13,6 @@ Creates menu link for Tools from where tools like survey, lunch, idea are access """, 'data': ['tools_view.xml'], 'installable': True, - 'certificate' : '00571588675379342237' } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_vat/__openerp__.py b/addons/base_vat/__openerp__.py index dfa23bb54fe..3071ddf2f5a 100644 --- a/addons/base_vat/__openerp__.py +++ b/addons/base_vat/__openerp__.py @@ -58,7 +58,6 @@ only the country code will be validated. 'data': ['base_vat_view.xml'], 'installable': True, 'auto_install': False, - 'certificate': '0084849360989', 'images': ['images/1_partner_vat.jpeg'], } diff --git a/addons/board/__openerp__.py b/addons/board/__openerp__.py index 2690012f3b4..e699e091176 100644 --- a/addons/board/__openerp__.py +++ b/addons/board/__openerp__.py @@ -42,7 +42,6 @@ Allows users to create custom dashboard. 'qweb': ['static/src/xml/*.xml'], 'installable': True, 'auto_install': False, - 'certificate': '0076912305725', 'images': ['images/1_dashboard_definition.jpeg','images/2_publish_note.jpeg','images/3_admin_dashboard.jpeg',], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/caldav/__openerp__.py b/addons/caldav/__openerp__.py index 4d35b00bdb4..45edd6e659e 100644 --- a/addons/caldav/__openerp__.py +++ b/addons/caldav/__openerp__.py @@ -69,7 +69,6 @@ To access OpenERP Calendar using WebCal to remote site use the URL like: ], 'installable': True, 'auto_install': False, - 'certificate': '00924841426645403741', 'images': ['images/calendar_collections.jpeg','images/calendars.jpeg','images/export_ics_file.jpeg'], } diff --git a/addons/claim_from_delivery/__openerp__.py b/addons/claim_from_delivery/__openerp__.py index 9e3f7f59ca2..453312233f6 100644 --- a/addons/claim_from_delivery/__openerp__.py +++ b/addons/claim_from_delivery/__openerp__.py @@ -35,7 +35,6 @@ Adds a Claim link to the delivery order. 'claim_delivery_data.xml',], 'auto_install': False, 'installable': True, - 'certificate' : '001101649349223746957', 'images': ['images/1_claim_link_delivery_order.jpeg'], } diff --git a/addons/crm/__openerp__.py b/addons/crm/__openerp__.py index 135f4237f1c..2a7996655a2 100644 --- a/addons/crm/__openerp__.py +++ b/addons/crm/__openerp__.py @@ -122,7 +122,6 @@ Dashboard for CRM will include: 'installable': True, 'application': True, 'auto_install': False, - 'certificate': '0079056041421', 'images': ['images/sale_crm_crm_dashboard.png', 'images/crm_dashboard.jpeg','images/leads.jpeg','images/meetings.jpeg','images/opportunities.jpeg','images/outbound_calls.jpeg','images/stages.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm_caldav/__openerp__.py b/addons/crm_caldav/__openerp__.py index f1f9f05cafd..ffcb23fd315 100644 --- a/addons/crm_caldav/__openerp__.py +++ b/addons/crm_caldav/__openerp__.py @@ -42,7 +42,6 @@ Caldav features in Meeting. 'demo': [], 'installable': True, 'auto_install': False, - 'certificate' : '001088048737252670109', 'images': ['images/caldav_browse_step1.jpeg','images/caldav_browse_step2.jpeg'], } diff --git a/addons/crm_claim/__openerp__.py b/addons/crm_claim/__openerp__.py index f35dd306e93..f5ab836401b 100644 --- a/addons/crm_claim/__openerp__.py +++ b/addons/crm_claim/__openerp__.py @@ -48,7 +48,6 @@ automatically new claims based on incoming emails. ], 'installable': True, 'auto_install': False, - 'certificate' : '00612027414703404749', 'images': ['images/claim_categories.jpeg','images/claim_stages.jpeg','images/claims.jpeg'], } diff --git a/addons/crm_helpdesk/__openerp__.py b/addons/crm_helpdesk/__openerp__.py index e2d246cb2db..2d8aff643bd 100644 --- a/addons/crm_helpdesk/__openerp__.py +++ b/addons/crm_helpdesk/__openerp__.py @@ -47,7 +47,6 @@ and categorize your interventions with a channel and a priority level. 'test': ['test/process/help-desk.yml'], 'installable': True, 'auto_install': False, - 'certificate' : '00830691522781519309', 'images': ['images/helpdesk_analysis.jpeg','images/helpdesk_categories.jpeg','images/helpdesk_requests.jpeg'], } diff --git a/addons/crm_partner_assign/__openerp__.py b/addons/crm_partner_assign/__openerp__.py index c9d6990025c..cb952606e76 100644 --- a/addons/crm_partner_assign/__openerp__.py +++ b/addons/crm_partner_assign/__openerp__.py @@ -50,7 +50,6 @@ You can also use the geolocalization without using the GPS coordinates. 'test': ['test/partner_assign.yml'], 'installable': True, 'auto_install': False, - 'certificate': '00503409558942442061', 'images': ['images/partner_geo_localization.jpeg','images/partner_grade.jpeg'], } diff --git a/addons/crm_profiling/__openerp__.py b/addons/crm_profiling/__openerp__.py index 99e1b6c5f41..4f182f4d447 100644 --- a/addons/crm_profiling/__openerp__.py +++ b/addons/crm_profiling/__openerp__.py @@ -47,7 +47,6 @@ were overlapping. ], 'installable': True, 'auto_install': False, - 'certificate': '0033984979005', 'images': ['images/profiling_questionnaires.jpeg','images/profiling_questions.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/decimal_precision/__openerp__.py b/addons/decimal_precision/__openerp__.py index 107fb49a1c5..5360adbd6f2 100644 --- a/addons/decimal_precision/__openerp__.py +++ b/addons/decimal_precision/__openerp__.py @@ -37,7 +37,6 @@ The decimal precision is configured per company. ], 'demo': [], 'installable': True, - 'certificate' : '001307317809612974621', 'images': ['images/1_decimal_accuracy_form.jpeg','images/1_decimal_accuracy_list.jpeg'], } diff --git a/addons/delivery/__openerp__.py b/addons/delivery/__openerp__.py index 6a355096e4e..0ea891bb6ae 100644 --- a/addons/delivery/__openerp__.py +++ b/addons/delivery/__openerp__.py @@ -44,7 +44,6 @@ invoices from picking, OpenERP is able to add and compute the shipping line. 'test': ['test/delivery_cost.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0033981912253', 'images': ['images/1_delivery_method.jpeg','images/2_delivery_pricelist.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/document/__openerp__.py b/addons/document/__openerp__.py index 212965a8162..3dc14054b40 100644 --- a/addons/document/__openerp__.py +++ b/addons/document/__openerp__.py @@ -59,7 +59,6 @@ ATTENTION: 'test': ['test/document_test2.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0070515416461', 'images': ['images/1_directories.jpeg','images/2_storage_media.jpeg','images/3_directories_structure.jpeg'], } diff --git a/addons/document_ftp/__openerp__.py b/addons/document_ftp/__openerp__.py index f8968d6c3df..23ff8f1e37d 100644 --- a/addons/document_ftp/__openerp__.py +++ b/addons/document_ftp/__openerp__.py @@ -48,7 +48,6 @@ FTP client. ], 'installable': True, 'auto_install': False, - 'certificate': '00934787762705016005', 'images': ['images/1_configure_ftp.jpeg','images/2_document_browse.jpeg','images/3_document_ftp.jpeg'], 'post_load': 'post_load', } diff --git a/addons/document_page/__openerp__.py b/addons/document_page/__openerp__.py index eec5166b0bf..f08315bf61e 100644 --- a/addons/document_page/__openerp__.py +++ b/addons/document_page/__openerp__.py @@ -42,7 +42,6 @@ Web pages 'test': ['test/document_page_test00.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0086363630317', 'images': [], 'css' : ['static/src/css/document_page.css'], } diff --git a/addons/document_webdav/__openerp__.py b/addons/document_webdav/__openerp__.py index 1f7cb20e795..ec112ec7c38 100644 --- a/addons/document_webdav/__openerp__.py +++ b/addons/document_webdav/__openerp__.py @@ -70,7 +70,6 @@ which needs explicit configuration in openerp-server.conf too. ], 'auto_install': False, 'installable': True, - 'certificate' : '001236490750845657973', 'images': ['images/dav_properties.jpeg','images/directories_structure_principals.jpeg'], } diff --git a/addons/edi/__openerp__.py b/addons/edi/__openerp__.py index eb64d9b3fdd..b06c01eb03b 100644 --- a/addons/edi/__openerp__.py +++ b/addons/edi/__openerp__.py @@ -43,7 +43,6 @@ documentation at http://doc.openerp.com. 'qweb': ['static/src/xml/*.xml'], 'installable': True, 'auto_install': False, - 'certificate': '002046536359186', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/email_template/__openerp__.py b/addons/email_template/__openerp__.py index aaf2f52289a..f79800a76b9 100644 --- a/addons/email_template/__openerp__.py +++ b/addons/email_template/__openerp__.py @@ -65,7 +65,6 @@ campaigns on any OpenERP document. 'demo': ['res_partner_demo.yml'], 'installable': True, 'auto_install': False, - 'certificate' : '00817073628967384349', 'images': ['images/1_email_account.jpeg','images/2_email_template.jpeg','images/3_emails.jpeg'], } diff --git a/addons/event_project/__openerp__.py b/addons/event_project/__openerp__.py index b6710c8bac4..81fb24455f5 100644 --- a/addons/event_project/__openerp__.py +++ b/addons/event_project/__openerp__.py @@ -36,7 +36,6 @@ This module allows you to create retro planning for managing your events. 'demo': [], 'installable': True, 'auto_install': False, - 'certificate': '0069726863885', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/fetchmail/__openerp__.py b/addons/fetchmail/__openerp__.py index 3bfcf4d95a3..bba1fc22e07 100644 --- a/addons/fetchmail/__openerp__.py +++ b/addons/fetchmail/__openerp__.py @@ -64,7 +64,6 @@ For more specific needs, you may also assign custom-defined actions 'demo': [], 'installable': True, 'auto_install': False, - 'certificate' : '00692978332890137453', 'images': ['images/1_email_servers.jpeg'], } diff --git a/addons/google_map/__openerp__.py b/addons/google_map/__openerp__.py index 36a10355990..e1963e3f8f4 100644 --- a/addons/google_map/__openerp__.py +++ b/addons/google_map/__openerp__.py @@ -40,6 +40,5 @@ Using this you can directly open Google Map from the URL widget.""", 'js': ['static/src/js/google_map.js'], 'installable': True, 'auto_install': False, - 'certificate': '0029498930765', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr/__openerp__.py b/addons/hr/__openerp__.py index b99482ef8c5..0a93d844180 100644 --- a/addons/hr/__openerp__.py +++ b/addons/hr/__openerp__.py @@ -68,7 +68,6 @@ You can manage: 'installable': True, 'application': True, 'auto_install': False, - 'certificate': '0086710558965', 'css': [ 'static/src/css/hr.css' ], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_attendance/__openerp__.py b/addons/hr_attendance/__openerp__.py index cb2cd261773..f47b0900fb6 100644 --- a/addons/hr_attendance/__openerp__.py +++ b/addons/hr_attendance/__openerp__.py @@ -51,7 +51,6 @@ actions(Sign in/Sign out) performed by them. ], 'installable': True, 'auto_install': False, - 'certificate': '0063495605613', #web "js": ["static/src/js/attendance.js"], diff --git a/addons/hr_contract/__openerp__.py b/addons/hr_contract/__openerp__.py index 98f6162778a..ec33b5f44aa 100644 --- a/addons/hr_contract/__openerp__.py +++ b/addons/hr_contract/__openerp__.py @@ -48,6 +48,5 @@ You can assign several contracts per employee. 'test': ['test/test_hr_contract.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0046298028637', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_evaluation/__openerp__.py b/addons/hr_evaluation/__openerp__.py index 6a8a802e1e1..fb3d87f2bc1 100644 --- a/addons/hr_evaluation/__openerp__.py +++ b/addons/hr_evaluation/__openerp__.py @@ -62,7 +62,6 @@ Key Features ], 'auto_install': False, 'installable': True, - 'certificate' : '00883207679172998429', 'application': True, } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_expense/__openerp__.py b/addons/hr_expense/__openerp__.py index 64648c65fee..4b273a9cc81 100644 --- a/addons/hr_expense/__openerp__.py +++ b/addons/hr_expense/__openerp__.py @@ -67,7 +67,6 @@ This module also uses analytic accounting and is compatible with the invoice on ], 'installable': True, 'auto_install': False, - 'certificate': '0062479841789', 'application': True, } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_holidays/__openerp__.py b/addons/hr_holidays/__openerp__.py index 512ab8e425d..3cf4a30a2e1 100644 --- a/addons/hr_holidays/__openerp__.py +++ b/addons/hr_holidays/__openerp__.py @@ -66,6 +66,5 @@ A synchronization with an internal agenda (Meetings of the CRM module) is also p 'installable': True, 'application': True, 'auto_install': False, - 'certificate': '0086579209325', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_payroll/__openerp__.py b/addons/hr_payroll/__openerp__.py index 62a0348940b..dfa87622264 100644 --- a/addons/hr_payroll/__openerp__.py +++ b/addons/hr_payroll/__openerp__.py @@ -67,7 +67,6 @@ Generic Payroll system. 'demo': ['hr_payroll_demo.xml'], 'installable': True, 'auto_install': False, - 'certificate' : '001046261404562128861', 'application': False, } diff --git a/addons/hr_payroll_account/__openerp__.py b/addons/hr_payroll_account/__openerp__.py index 3f960507a8d..7c7e7bd9dda 100644 --- a/addons/hr_payroll_account/__openerp__.py +++ b/addons/hr_payroll_account/__openerp__.py @@ -44,7 +44,6 @@ Generic Payroll system Integrated with Accounting. 'test': ['test/hr_payroll_account.yml'], 'installable': True, 'auto_install': False, - 'certificate' : '00923971112835220957', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_recruitment/__openerp__.py b/addons/hr_recruitment/__openerp__.py index d498e41498d..a5a1ec310d5 100644 --- a/addons/hr_recruitment/__openerp__.py +++ b/addons/hr_recruitment/__openerp__.py @@ -64,7 +64,6 @@ You can define the different phases of interviews and easily rate the applicant 'test': ['test/recruitment_process.yml'], 'installable': True, 'auto_install': False, - 'certificate': '001073437025460275621', 'application': True, } diff --git a/addons/hr_timesheet/__openerp__.py b/addons/hr_timesheet/__openerp__.py index 2162b6095e8..c7af21ee0be 100644 --- a/addons/hr_timesheet/__openerp__.py +++ b/addons/hr_timesheet/__openerp__.py @@ -62,6 +62,5 @@ up a management by affair. ], 'installable': True, 'auto_install': False, - 'certificate': '0071405533469', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_timesheet_invoice/__openerp__.py b/addons/hr_timesheet_invoice/__openerp__.py index 047f0b414dc..65ccc8948c2 100644 --- a/addons/hr_timesheet_invoice/__openerp__.py +++ b/addons/hr_timesheet_invoice/__openerp__.py @@ -54,6 +54,5 @@ reports.""", ], 'installable': True, 'auto_install': False, - 'certificate': '0056091842381', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/hr_timesheet_sheet/__openerp__.py b/addons/hr_timesheet_sheet/__openerp__.py index fbe4bc85503..9aab412d425 100644 --- a/addons/hr_timesheet_sheet/__openerp__.py +++ b/addons/hr_timesheet_sheet/__openerp__.py @@ -64,7 +64,6 @@ The validation can be configured in the company: 'test':['test/test_hr_timesheet_sheet.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0073297700829', 'application': True, } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/knowledge/__openerp__.py b/addons/knowledge/__openerp__.py index 14b2d045d6c..49600f63ddd 100644 --- a/addons/knowledge/__openerp__.py +++ b/addons/knowledge/__openerp__.py @@ -43,7 +43,6 @@ document and Wiki based Hidden. 'demo': ['knowledge_demo.xml'], 'installable': True, 'auto_install': False, - 'certificate' : '001278773815843749581', 'images': ['images/1_config_knowledge.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_be/__openerp__.py b/addons/l10n_be/__openerp__.py index c2ccf511e3c..a956ea7ebe0 100644 --- a/addons/l10n_be/__openerp__.py +++ b/addons/l10n_be/__openerp__.py @@ -76,7 +76,6 @@ Wizards provided by this module: ], 'demo': [], 'installable': True, - 'certificate': '0031977724637', 'images': ['images/1_config_chart_l10n_be.jpeg','images/2_l10n_be_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_be_coda/__openerp__.py b/addons/l10n_be_coda/__openerp__.py index bd323478886..2c8931f484c 100644 --- a/addons/l10n_be_coda/__openerp__.py +++ b/addons/l10n_be_coda/__openerp__.py @@ -105,7 +105,6 @@ If required, you can manually adjust the descriptions via the CODA configuration 'auto_install': False, 'installable': True, 'license': 'AGPL-3', - 'certificate' : '001237207321716002029', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_br/__openerp__.py b/addons/l10n_br/__openerp__.py index 99923f1a5e5..766ae6c60bb 100644 --- a/addons/l10n_br/__openerp__.py +++ b/addons/l10n_br/__openerp__.py @@ -75,7 +75,6 @@ for online use of 'private modules'.""", 'l10n_br_view.xml', ], 'installable': True, - 'certificate' : '001280994939126801405', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_ca/__openerp__.py b/addons/l10n_ca/__openerp__.py index 5f12d7331b6..9c3cfea2fb1 100644 --- a/addons/l10n_ca/__openerp__.py +++ b/addons/l10n_ca/__openerp__.py @@ -46,7 +46,6 @@ Canadian accounting charts and localizations. ], 'demo': [], 'installable': True, - 'certificate': '00941680933773696173', 'images': ['images/config_chart_l10n_ca.jpeg','images/l10n_ca_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_ch/__openerp__.py b/addons/l10n_ch/__openerp__.py index 4e8f13fda7a..ec50d9b0f8e 100644 --- a/addons/l10n_ch/__openerp__.py +++ b/addons/l10n_ch/__openerp__.py @@ -102,7 +102,6 @@ TODO : ], 'auto_install': False, 'installable': True, - 'certificate': '001103836064567088989', 'images': ['images/config_chart_l10n_ch.jpeg','images/l10n_ch_chart.jpeg'] } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_cn/__openerp__.py b/addons/l10n_cn/__openerp__.py index 0cc26a5052e..3dd702a2d67 100644 --- a/addons/l10n_cn/__openerp__.py +++ b/addons/l10n_cn/__openerp__.py @@ -40,7 +40,6 @@ 'license': 'GPL-3', 'auto_install': False, 'installable': True, - 'certificate': '00925445983542952285', 'images': ['images/config_chart_l10n_cn.jpeg','images/l10n_cn_chart.jpeg'], } diff --git a/addons/l10n_cr/__openerp__.py b/addons/l10n_cr/__openerp__.py index cc90ed3be9e..79a769e9e8e 100644 --- a/addons/l10n_cr/__openerp__.py +++ b/addons/l10n_cr/__openerp__.py @@ -68,7 +68,6 @@ please go to http://translations.launchpad.net/openerp-costa-rica. 'license': 'Other OSI approved licence', 'installable': True, 'auto_install': False, - 'certificate' : '00531476623680631853', 'images': ['images/config_chart_l10n_cr.jpeg','images/l10n_cr_chart.jpeg'], } diff --git a/addons/l10n_de/__openerp__.py b/addons/l10n_de/__openerp__.py index 299174da592..e9507595402 100644 --- a/addons/l10n_de/__openerp__.py +++ b/addons/l10n_de/__openerp__.py @@ -148,7 +148,6 @@ German accounting chart and localization. 'l10n_de_wizard.xml', ], 'installable': True, - 'certificate': '00517849017945584893', 'images': ['images/config_chart_l10n_de.jpeg','images/l10n_de_chart.jpeg'], } diff --git a/addons/l10n_ec/__openerp__.py b/addons/l10n_ec/__openerp__.py index 62a32a526c3..3414f969dcd 100644 --- a/addons/l10n_ec/__openerp__.py +++ b/addons/l10n_ec/__openerp__.py @@ -42,7 +42,6 @@ Accounting chart and localization for Ecuador. ], 'demo': [], 'installable': True, - 'certificate' : '001226484516187330589', 'images': ['images/config_chart_l10n_ec.jpeg','images/l10n_ec_chart.jpeg'], } diff --git a/addons/l10n_es/__openerp__.py b/addons/l10n_es/__openerp__.py index 9b7a7517974..2264988fd99 100644 --- a/addons/l10n_es/__openerp__.py +++ b/addons/l10n_es/__openerp__.py @@ -54,7 +54,6 @@ Spanish Charts of Accounts (PGCE 2008). 'demo': [], 'auto_install': False, 'installable': True, - 'certificate': '00408828172062583229', 'images': ['images/config_chart_l10n_es.jpeg','images/l10n_es_chart.jpeg'], } diff --git a/addons/l10n_fr/__openerp__.py b/addons/l10n_fr/__openerp__.py index 65a2621f03a..e1d4b9ac334 100644 --- a/addons/l10n_fr/__openerp__.py +++ b/addons/l10n_fr/__openerp__.py @@ -68,7 +68,6 @@ configuration of their taxes and fiscal positions manually. ], 'test': ['test/l10n_fr_report.yml'], 'demo': [], - 'certificate': '00435321693876313629', 'auto_install': False, 'installable': True, 'images': ['images/config_chart_l10n_fr.jpeg','images/l10n_fr_chart.jpeg'], diff --git a/addons/l10n_fr_rib/__openerp__.py b/addons/l10n_fr_rib/__openerp__.py index 327ab35d5c0..386f4be71e8 100644 --- a/addons/l10n_fr_rib/__openerp__.py +++ b/addons/l10n_fr_rib/__openerp__.py @@ -53,7 +53,6 @@ Accounts in OpenERP: the first with the type 'RIB', the second with the type 'IB 'depends': ['account', 'base_iban'], 'data': ['bank_data.xml', 'bank_view.xml'], 'installable': True, - 'certificate': '003407950790', 'auto_install': False, } diff --git a/addons/l10n_gr/__openerp__.py b/addons/l10n_gr/__openerp__.py index 62d82b544d8..aac13487189 100644 --- a/addons/l10n_gr/__openerp__.py +++ b/addons/l10n_gr/__openerp__.py @@ -41,7 +41,6 @@ Greek accounting chart and localization. 'l10n_gr_wizard.xml' ], 'installable': True, - 'certificate': '001146244418929008029', 'images': ['images/config_chart_l10n_gr.jpeg','images/l10n_gr_chart.jpeg'], } diff --git a/addons/l10n_gt/__openerp__.py b/addons/l10n_gt/__openerp__.py index e36e418ee21..adba0898449 100644 --- a/addons/l10n_gt/__openerp__.py +++ b/addons/l10n_gt/__openerp__.py @@ -54,7 +54,6 @@ taxes and the Quetzal currency.""", ], 'demo': [], 'installable': True, - 'certificate': '00815146661827601309', 'images': ['images/config_chart_l10n_gt.jpeg','images/l10n_gt_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_in/__openerp__.py b/addons/l10n_in/__openerp__.py index b1cab835f96..b3dab229201 100644 --- a/addons/l10n_in/__openerp__.py +++ b/addons/l10n_in/__openerp__.py @@ -45,7 +45,6 @@ Indian accounting chart and localization. ], 'auto_install': False, 'installable': True, - 'certificate' : '001308250150600713245', 'images': ['images/config_chart_l10n_in.jpeg','images/l10n_in_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_it/__openerp__.py b/addons/l10n_it/__openerp__.py index a9177fee033..00ba19e9c42 100644 --- a/addons/l10n_it/__openerp__.py +++ b/addons/l10n_it/__openerp__.py @@ -52,6 +52,5 @@ Italian accounting chart and localization. 'demo': [], 'installable': True, 'auto_install': False, - 'certificate' : '00926677190009155165', 'images': ['images/config_chart_l10n_it.jpeg','images/l10n_it_chart.jpeg'], } diff --git a/addons/l10n_lu/__openerp__.py b/addons/l10n_lu/__openerp__.py index 70f30444a3e..588102989ac 100644 --- a/addons/l10n_lu/__openerp__.py +++ b/addons/l10n_lu/__openerp__.py @@ -45,7 +45,6 @@ This is the base module to manage the accounting chart for Luxembourg. 'demo': [], 'installable': True, 'auto_install': False, - 'certificate': '0078164766621', 'images': ['images/config_chart_l10n_lu.jpeg','images/l10n_lu_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_ma/__openerp__.py b/addons/l10n_ma/__openerp__.py index 37f477d363c..1648fb6b171 100644 --- a/addons/l10n_ma/__openerp__.py +++ b/addons/l10n_ma/__openerp__.py @@ -47,7 +47,6 @@ Seddik au cours du troisième trimestre 2010.""", 'demo' : [], 'auto_install': False, 'installable': True, - 'certificate' : '00599614652359069981', 'images': ['images/config_chart_l10n_ma.jpeg','images/l10n_ma_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_mx/__openerp__.py b/addons/l10n_mx/__openerp__.py index 25ec7cc98c4..02904431151 100644 --- a/addons/l10n_mx/__openerp__.py +++ b/addons/l10n_mx/__openerp__.py @@ -37,7 +37,6 @@ Mexican accounting chart and localization. ], 'auto_install': False, 'installable': True, - 'certificate': '00858539161332598061', 'images': ['images/config_chart_l10n_mx.jpeg','images/l10n_mx_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_nl/__openerp__.py b/addons/l10n_nl/__openerp__.py index a263f912183..b612d07c147 100644 --- a/addons/l10n_nl/__openerp__.py +++ b/addons/l10n_nl/__openerp__.py @@ -127,7 +127,6 @@ De extra cijfers worden dan achter het rekeningnummer aangevult met 'nullen'. ], 'demo' : [], 'installable': True, - 'certificate': '00976041422960053277', 'images': ['images/config_chart_l10n_nl.jpeg','images/l10n_nl_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_pe/__openerp__.py b/addons/l10n_pe/__openerp__.py index 9ae3e351d13..f194576aa27 100644 --- a/addons/l10n_pe/__openerp__.py +++ b/addons/l10n_pe/__openerp__.py @@ -42,7 +42,6 @@ SUNAT 2011 (PCGE 2010). 'demo': [], 'active': False, 'installable': True, - 'certificate' : '0045046493412', 'images': ['images/config_chart_l10n_pe.jpeg','images/l10n_pe_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_pl/__openerp__.py b/addons/l10n_pl/__openerp__.py index df8d2955e8e..a14828fe9de 100644 --- a/addons/l10n_pl/__openerp__.py +++ b/addons/l10n_pl/__openerp__.py @@ -41,7 +41,6 @@ VAT 0%, 7% i 22%. Moduł ustawia też konta do kupna i sprzedaży towarów zakł ], 'auto_install': False, 'installable': True, - 'certificate' : '00885794372803776829', 'images': ['images/config_chart_l10n_pl.jpeg','images/l10n_pl_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_ro/__openerp__.py b/addons/l10n_ro/__openerp__.py index 22df6955a5f..8026d49c3db 100644 --- a/addons/l10n_ro/__openerp__.py +++ b/addons/l10n_ro/__openerp__.py @@ -36,7 +36,6 @@ Romanian accounting chart and localization. 'data' : ['partner_view.xml','account_tax_code.xml','account_chart.xml','account_tax.xml','l10n_chart_ro_wizard.xml'], 'auto_install': False, 'installable': True, - 'certificate' : '001308250150602948125', 'images': ['images/config_chart_l10n_ro.jpeg','images/l10n_ro_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/l10n_th/__openerp__.py b/addons/l10n_th/__openerp__.py index d2c5d07142a..94340954abc 100644 --- a/addons/l10n_th/__openerp__.py +++ b/addons/l10n_th/__openerp__.py @@ -34,7 +34,6 @@ Thai accounting chart and localization. 'depends': ['account_chart'], 'data': [ 'account_data.xml' ], 'installable': True, - 'certificate' : '00722263103978957725', 'images': ['images/config_chart_l10n_th.jpeg','images/l10n_th_chart.jpeg'], } diff --git a/addons/l10n_uy/__openerp__.py b/addons/l10n_uy/__openerp__.py index e5e7aaf59c8..2a6f10ddb29 100644 --- a/addons/l10n_uy/__openerp__.py +++ b/addons/l10n_uy/__openerp__.py @@ -46,7 +46,6 @@ Provide Templates for Chart of Accounts, Taxes for Uruguay. 'demo': [], 'auto_install': False, 'installable': True, - 'certificate': '0078287892698', 'images': ['images/config_chart_l10n_uy.jpeg','images/l10n_uy_chart.jpeg'], } diff --git a/addons/l10n_ve/__openerp__.py b/addons/l10n_ve/__openerp__.py index fcb5110714e..f10f4d0db61 100644 --- a/addons/l10n_ve/__openerp__.py +++ b/addons/l10n_ve/__openerp__.py @@ -41,7 +41,6 @@ Este módulo es para manejar un catálogo de cuentas ejemplo para Venezuela. ], 'auto_install': False, 'installable': True, - 'certificate': '00763145921185574557', 'images': ['images/config_chart_l10n_ve.jpeg','images/l10n_ve_chart.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/lunch/__openerp__.py b/addons/lunch/__openerp__.py index f84edb1db35..f3791da7acd 100644 --- a/addons/lunch/__openerp__.py +++ b/addons/lunch/__openerp__.py @@ -46,7 +46,6 @@ Category for the product. 'demo': ['lunch_demo.xml'], 'test': ['test/test_lunch.yml', 'test/lunch_report.yml'], 'installable': True, - 'certificate' : '001292377792581874189', 'images': ['images/cash_moves.jpeg','images/lunch_orders.jpeg','images/products.jpeg'], } diff --git a/addons/mail/__openerp__.py b/addons/mail/__openerp__.py index 387b1e19301..5a3c48de675 100644 --- a/addons/mail/__openerp__.py +++ b/addons/mail/__openerp__.py @@ -67,7 +67,6 @@ Main Features 'installable': True, 'auto_install': False, 'application': True, - 'certificate': '001056784984222247309', 'images': [ 'images/customer_history.jpeg', 'images/messages_form.jpeg', diff --git a/addons/marketing/__openerp__.py b/addons/marketing/__openerp__.py index 90f6e076cae..0c77fe59a86 100644 --- a/addons/marketing/__openerp__.py +++ b/addons/marketing/__openerp__.py @@ -42,7 +42,6 @@ Contains the installer for marketing-related modules. 'demo': ['marketing_demo.xml'], 'installable': True, 'auto_install': False, - 'certificate': '00598574977629228189', 'images': ['images/config_marketing.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/marketing_campaign/__openerp__.py b/addons/marketing_campaign/__openerp__.py index 61d5d2ada29..a51347fd1bb 100644 --- a/addons/marketing_campaign/__openerp__.py +++ b/addons/marketing_campaign/__openerp__.py @@ -68,7 +68,6 @@ input segments, workflow. 'test': ['test/marketing_campaign.yml'], 'installable': True, 'auto_install': False, - 'certificate': '00421723279617928365', 'images': ['images/campaign.png', 'images/campaigns.jpeg','images/email_account.jpeg','images/email_templates.jpeg','images/segments.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/marketing_campaign_crm_demo/__openerp__.py b/addons/marketing_campaign_crm_demo/__openerp__.py index aae0d72e9d0..9265561bd64 100644 --- a/addons/marketing_campaign_crm_demo/__openerp__.py +++ b/addons/marketing_campaign_crm_demo/__openerp__.py @@ -39,7 +39,6 @@ Creates demo data like leads, campaigns and segments for the module marketing_ca 'demo': ['marketing_campaign_demo.xml'], 'installable': True, 'auto_install': False, - 'certificate': '001005497972871352957', 'images': ['images/campaigns.jpeg','images/email_templates.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/membership/__openerp__.py b/addons/membership/__openerp__.py index 316a2f0f120..4a0a80694b3 100644 --- a/addons/membership/__openerp__.py +++ b/addons/membership/__openerp__.py @@ -51,7 +51,6 @@ invoice and send propositions for membership renewal. 'test': ['test/test_membership.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0042907796381', 'images': ['images/members.jpeg','images/membership_list.jpeg', 'images/membership_products.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mrp/__openerp__.py b/addons/mrp/__openerp__.py index cce5272bd79..73564f2b460 100644 --- a/addons/mrp/__openerp__.py +++ b/addons/mrp/__openerp__.py @@ -84,6 +84,5 @@ Dashboard / Reports for MRP will include: 'installable': True, 'application': True, 'auto_install': False, - 'certificate': '0032052481373', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mrp_jit/__openerp__.py b/addons/mrp_jit/__openerp__.py index ddd5e3d63fb..9df8ab9908b 100644 --- a/addons/mrp_jit/__openerp__.py +++ b/addons/mrp_jit/__openerp__.py @@ -45,6 +45,5 @@ In that case, you can not use priorities any more on the different picking. 'test': ['test/mrp_jit.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0086634760061', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mrp_operations/__openerp__.py b/addons/mrp_operations/__openerp__.py index a5bda80f924..97c76f90546 100644 --- a/addons/mrp_operations/__openerp__.py +++ b/addons/mrp_operations/__openerp__.py @@ -73,6 +73,5 @@ So, that we can compare the theoretic delay and real delay. ], 'installable': True, 'auto_install': False, - 'certificate': '0056233813133', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mrp_repair/__openerp__.py b/addons/mrp_repair/__openerp__.py index da4070d6210..d522bdc36e8 100644 --- a/addons/mrp_repair/__openerp__.py +++ b/addons/mrp_repair/__openerp__.py @@ -59,6 +59,5 @@ The following topics should be covered by this module: ], 'installable': True, 'auto_install': False, - 'certificate': '0060814381277', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mrp_subproduct/__openerp__.py b/addons/mrp_subproduct/__openerp__.py index c45584eb1a9..6475cbe4a91 100644 --- a/addons/mrp_subproduct/__openerp__.py +++ b/addons/mrp_subproduct/__openerp__.py @@ -50,6 +50,5 @@ With this module: 'test': ['test/mrp_subproduct.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0050060616733', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/multi_company/__openerp__.py b/addons/multi_company/__openerp__.py index 501740188db..bbaa161ee57 100644 --- a/addons/multi_company/__openerp__.py +++ b/addons/multi_company/__openerp__.py @@ -41,7 +41,6 @@ This module is the base module for other multi-company modules. 'demo': ['multi_company_demo.xml'], 'installable': True, 'auto_install': False, - 'certificate' : '001115526094673097933', 'images': ['images/companies.jpeg','images/default_company_per_object_form.jpeg', 'images/default_company_per_object_list.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/pad/__openerp__.py b/addons/pad/__openerp__.py index 50b280d2c32..b99e6d828c9 100644 --- a/addons/pad/__openerp__.py +++ b/addons/pad/__openerp__.py @@ -18,7 +18,6 @@ pads (by default, http://ietherpad.com/). 'installable': True, 'auto_install': False, 'web': True, - 'certificate' : '001183545978470526509', 'js': ['static/src/js/pad.js'], 'qweb' : ['static/src/xml/*.xml'], 'images': ['static/src/img/pad_link_companies.jpeg'], diff --git a/addons/plugin_outlook/__openerp__.py b/addons/plugin_outlook/__openerp__.py index 3f26399e71f..98a1d70eb9f 100644 --- a/addons/plugin_outlook/__openerp__.py +++ b/addons/plugin_outlook/__openerp__.py @@ -40,7 +40,6 @@ into mail.message with attachments. 'data' : ['plugin_outlook.xml'], 'auto_install': False, 'installable': True, - 'certificate' : '001278773815818292125', 'images': ['images/config_outlook.jpeg','images/outlook_config_openerp.jpeg','images/outlook_push.jpeg'], } diff --git a/addons/plugin_thunderbird/__openerp__.py b/addons/plugin_thunderbird/__openerp__.py index 54e05603e53..56c9d47cd65 100644 --- a/addons/plugin_thunderbird/__openerp__.py +++ b/addons/plugin_thunderbird/__openerp__.py @@ -40,6 +40,5 @@ HR Applicant and Project Issue from selected mails. 'data' : ['plugin_thunderbird.xml'], 'auto_install': False, 'installable': True, - 'certificate' : '00899858104035139949', 'images': ['images/config_thunderbird.jpeg','images/config_thunderbird_plugin.jpeg','images/thunderbird_document.jpeg'], } diff --git a/addons/process/__openerp__.py b/addons/process/__openerp__.py index f0ece3704dc..fcae18c5490 100644 --- a/addons/process/__openerp__.py +++ b/addons/process/__openerp__.py @@ -43,7 +43,6 @@ This module shows the basic processes involved in the selected modules and in th 'demo': [], 'installable': True, 'auto_install': False, - 'certificate': '0055447636669', 'images': ['images/process_nodes.jpeg','images/process_transitions.jpeg', 'images/processes.jpeg'], 'js': [ 'static/src/js/process.js' diff --git a/addons/procurement/__openerp__.py b/addons/procurement/__openerp__.py index e797766eb40..a1aed1dfba8 100644 --- a/addons/procurement/__openerp__.py +++ b/addons/procurement/__openerp__.py @@ -61,7 +61,6 @@ depending on the product's configuration. 'test': ['test/procurement.yml'], 'installable': True, 'auto_install': True, - 'certificate': '00954248826881074509', 'images': ['images/compute_schedulers.jpeg','images/config_companies_sched.jpeg', 'images/minimum_stock_rules.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/product/__openerp__.py b/addons/product/__openerp__.py index 0c14b999e99..fdadda2e4d4 100644 --- a/addons/product/__openerp__.py +++ b/addons/product/__openerp__.py @@ -66,7 +66,6 @@ Print product labels with barcode. ], 'installable': True, 'auto_install': False, - 'certificate': '0068861431437', 'images': ['images/product_uom.jpeg','images/product_pricelists.jpeg','images/products_categories.jpeg', 'images/products_form.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/product_expiry/__openerp__.py b/addons/product_expiry/__openerp__.py index b4f66edc482..ae65c9092b3 100644 --- a/addons/product_expiry/__openerp__.py +++ b/addons/product_expiry/__openerp__.py @@ -39,7 +39,6 @@ Used, for example, in food industries.""", 'data' : ['product_expiry_view.xml'], 'auto_install': False, 'installable': True, - 'certificate': '00421222123914960109', 'images': ['images/production_lots_dates.jpeg','images/products_dates.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/product_manufacturer/__openerp__.py b/addons/product_manufacturer/__openerp__.py index 8e24f8476f0..f43ed923860 100644 --- a/addons/product_manufacturer/__openerp__.py +++ b/addons/product_manufacturer/__openerp__.py @@ -41,7 +41,6 @@ You can now define the following for a product: ], 'auto_install': False, 'installable': True, - 'certificate': '00720153953662760781', 'images': ['images/products_manufacturer.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/product_margin/__openerp__.py b/addons/product_margin/__openerp__.py index 76e4d3964b1..41c2a53474a 100644 --- a/addons/product_margin/__openerp__.py +++ b/addons/product_margin/__openerp__.py @@ -41,7 +41,6 @@ The wizard to launch the report has several options to help you get the data you 'demo': [], 'installable': True, 'auto_install': False, - 'certificate': '0064392591773', 'images': ['images/open_margins.jpeg','images/product_margins_form.jpeg', 'images/product_margins_list.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/product_visible_discount/__openerp__.py b/addons/product_visible_discount/__openerp__.py index d3c35dfe8b0..09cf5ce61fd 100644 --- a/addons/product_visible_discount/__openerp__.py +++ b/addons/product_visible_discount/__openerp__.py @@ -40,7 +40,6 @@ To this end, a new check box named 'Visible Discount' is added to the pricelist 'data': ['product_visible_discount_view.xml'], 'auto_install': False, 'installable': True, - 'certificate' : '001144718884654279901', 'images': ['images/pricelists_visible_discount.jpeg'], } diff --git a/addons/profile_tools/__openerp__.py b/addons/profile_tools/__openerp__.py index ddd1eba5ca0..17588a4de02 100644 --- a/addons/profile_tools/__openerp__.py +++ b/addons/profile_tools/__openerp__.py @@ -38,7 +38,6 @@ modules like share, lunch, pad, idea, survey and subscription. 'demo': [], 'installable': True, 'auto_install': False, - 'certificate' : '00557100228403879621', 'images': ['images/config_extra_Hidden.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project/__openerp__.py b/addons/project/__openerp__.py index edf0100c8bc..85e33be777a 100644 --- a/addons/project/__openerp__.py +++ b/addons/project/__openerp__.py @@ -85,6 +85,5 @@ Dashboard / Reports for Project Management will include: 'application': True, 'css': ['static/src/css/project.css'], 'js': ['static/src/js/project.js'], - 'certificate': '0075116868317', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project_gtd/__openerp__.py b/addons/project_gtd/__openerp__.py index ae1d5ee909c..eb05cdfa848 100644 --- a/addons/project_gtd/__openerp__.py +++ b/addons/project_gtd/__openerp__.py @@ -53,6 +53,5 @@ GTD rests on the principle that a person needs to move tasks out of the mind by 'installable': True, 'application': True, 'auto_install': False, - 'certificate': '0043525236301', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project_issue/__openerp__.py b/addons/project_issue/__openerp__.py index 1c4006329a9..f35ca0251d3 100644 --- a/addons/project_issue/__openerp__.py +++ b/addons/project_issue/__openerp__.py @@ -61,7 +61,6 @@ It allows the manager to quickly check the issues, assign them and decide on the 'installable': True, 'auto_install': False, 'application': True, - 'certificate': '001236490750848623845', 'js': ['static/src/js/project_issue.js'], } diff --git a/addons/project_issue_sheet/__openerp__.py b/addons/project_issue_sheet/__openerp__.py index e12bc1a14cd..3eac04133d4 100644 --- a/addons/project_issue_sheet/__openerp__.py +++ b/addons/project_issue_sheet/__openerp__.py @@ -44,7 +44,6 @@ Worklogs can be maintained to signify number of hours spent by users to handle a 'demo': [], 'installable': True, 'auto_install': False, - 'certificate' : '00856032058128997037', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project_long_term/__openerp__.py b/addons/project_long_term/__openerp__.py index 2968a5b035d..3a3307d2898 100644 --- a/addons/project_long_term/__openerp__.py +++ b/addons/project_long_term/__openerp__.py @@ -58,7 +58,6 @@ Features: ], 'installable': True, 'auto_install': False, - 'certificate': '001227470751077315069', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project_mrp/__openerp__.py b/addons/project_mrp/__openerp__.py index dd20c1c9c1e..91212b92c1d 100644 --- a/addons/project_mrp/__openerp__.py +++ b/addons/project_mrp/__openerp__.py @@ -55,6 +55,5 @@ task is completed. 'test': ['test/project_task_procurement.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0031976495453', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project_retro_planning/__openerp__.py b/addons/project_retro_planning/__openerp__.py index e3e7a444676..4fc0dc41a75 100644 --- a/addons/project_retro_planning/__openerp__.py +++ b/addons/project_retro_planning/__openerp__.py @@ -37,6 +37,5 @@ the tasks will change accordingly. 'test': ['test/deadline_change.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0057235475485', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project_timesheet/__openerp__.py b/addons/project_timesheet/__openerp__.py index 805556c1a96..0651d7b9ce4 100644 --- a/addons/project_timesheet/__openerp__.py +++ b/addons/project_timesheet/__openerp__.py @@ -49,6 +49,5 @@ with the effect of creating, editing and deleting either ways. ], 'installable': True, 'auto_install': True, - 'certificate': '0075123647453', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/purchase/__openerp__.py b/addons/purchase/__openerp__.py index 38706d96670..a7c66344f4a 100644 --- a/addons/purchase/__openerp__.py +++ b/addons/purchase/__openerp__.py @@ -84,7 +84,6 @@ Dashboard / Reports for Purchase Management will include: ], 'installable': True, 'auto_install': False, - 'certificate': '0057234283549', 'application': True, } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/purchase_analytic_plans/__openerp__.py b/addons/purchase_analytic_plans/__openerp__.py index 801551c7a07..98a1ee2a704 100644 --- a/addons/purchase_analytic_plans/__openerp__.py +++ b/addons/purchase_analytic_plans/__openerp__.py @@ -39,6 +39,5 @@ on a supplier purchase order into several accounts and analytic plans. 'demo': [], 'installable': True, 'auto_install': False, - 'certificate': '0062176518909', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/purchase_double_validation/__openerp__.py b/addons/purchase_double_validation/__openerp__.py index d05870ca951..8c56f2af9ed 100644 --- a/addons/purchase_double_validation/__openerp__.py +++ b/addons/purchase_double_validation/__openerp__.py @@ -46,9 +46,7 @@ exceeds minimum amount set by configuration wizard. ], 'demo': [], 'installable': True, - 'auto_install': False, - 'certificate' : '00436592682510544157', - + 'auto_install': False } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/purchase_requisition/__openerp__.py b/addons/purchase_requisition/__openerp__.py index 30af4699c48..2ba0ad95e09 100644 --- a/addons/purchase_requisition/__openerp__.py +++ b/addons/purchase_requisition/__openerp__.py @@ -48,7 +48,6 @@ keep track and order all your purchase orders. 'test/cancel_purchase_requisition.yml', ], 'installable': True, - 'certificate': '001023264099823179629', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/report_designer/__openerp__.py b/addons/report_designer/__openerp__.py index 3a2b9e95ea5..2bfba48b204 100644 --- a/addons/report_designer/__openerp__.py +++ b/addons/report_designer/__openerp__.py @@ -38,7 +38,6 @@ modules like base_report_designer and base_report_creator. 'demo': [], 'installable': True, 'auto_install': False, - 'certificate' : '00764037194670093149', 'images': ['images/config_reporting_Hidden.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/report_intrastat/__openerp__.py b/addons/report_intrastat/__openerp__.py index aa4fa31a0b0..0fa57977db1 100644 --- a/addons/report_intrastat/__openerp__.py +++ b/addons/report_intrastat/__openerp__.py @@ -43,7 +43,6 @@ European Union.""", 'test': ['test/report_intrastat_report.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0056982189085', 'images': ['images/country_intrastat_code.jpeg','images/intrastat_code.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/report_webkit/__openerp__.py b/addons/report_webkit/__openerp__.py index 28ad16b63d4..5b88cb78eb4 100644 --- a/addons/report_webkit/__openerp__.py +++ b/addons/report_webkit/__openerp__.py @@ -91,7 +91,6 @@ TODO: ], 'installable': True, 'auto_install': False, - 'certificate': '001159699313338995949', 'images': ['images/companies_webkit.jpeg','images/header_html.jpeg','images/header_img.jpeg'], } diff --git a/addons/report_webkit_sample/__openerp__.py b/addons/report_webkit_sample/__openerp__.py index d10c336609e..7ea85759732 100644 --- a/addons/report_webkit_sample/__openerp__.py +++ b/addons/report_webkit_sample/__openerp__.py @@ -49,7 +49,6 @@ You have to create the print buttons by calling the wizard. For more details see 'data': ['report_webkit_html_view.xml'], 'installable': True, 'auto_install': False, - 'certificate': '00436592682591421981', 'images': ['images/webkit_invoice_report.jpeg'], } diff --git a/addons/resource/__openerp__.py b/addons/resource/__openerp__.py index 94c55105c2a..b8a9f57c910 100644 --- a/addons/resource/__openerp__.py +++ b/addons/resource/__openerp__.py @@ -47,7 +47,6 @@ associated to every resource. It also manages the leaves of every resource. ], 'installable': True, 'auto_install': False, - 'certificate': '00746371192190459469', 'images': ['images/resource_leaves_calendar.jpeg','images/resource_leaves_form.jpeg'], } diff --git a/addons/sale/__openerp__.py b/addons/sale/__openerp__.py index 13f0fb53696..d76ea064c2c 100644 --- a/addons/sale/__openerp__.py +++ b/addons/sale/__openerp__.py @@ -88,6 +88,5 @@ The Dashboard for the Sales Manager will include 'installable': True, 'auto_install': False, 'application': True, - 'certificate': '0058103601429', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/sale_analytic_plans/__openerp__.py b/addons/sale_analytic_plans/__openerp__.py index df33feae578..5f4d980a339 100644 --- a/addons/sale_analytic_plans/__openerp__.py +++ b/addons/sale_analytic_plans/__openerp__.py @@ -37,6 +37,5 @@ Using this module you will be able to link analytic accounts to sales orders. 'demo': [], 'installable': True, 'auto_install': False, - 'certificate': '0066055860861', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/sale_crm/__openerp__.py b/addons/sale_crm/__openerp__.py index 4846b61f624..88608af8922 100644 --- a/addons/sale_crm/__openerp__.py +++ b/addons/sale_crm/__openerp__.py @@ -49,6 +49,5 @@ modules. 'test': ['test/sale_crm.yml'], 'installable': True, 'auto_install': True, - 'certificate': '0064360130141', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/sale_journal/__openerp__.py b/addons/sale_journal/__openerp__.py index 9ca3858f817..30a6a281c49 100644 --- a/addons/sale_journal/__openerp__.py +++ b/addons/sale_journal/__openerp__.py @@ -61,6 +61,5 @@ Some statistics by journals are provided. 'test': [ ], 'installable': True, 'auto_install': False, - 'certificate': '0077661619085', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/sale_margin/__openerp__.py b/addons/sale_margin/__openerp__.py index 6cacdcda7b4..9b393b6c5ad 100644 --- a/addons/sale_margin/__openerp__.py +++ b/addons/sale_margin/__openerp__.py @@ -37,7 +37,6 @@ Price and Cost Price. 'data':['security/ir.model.access.csv','sale_margin_view.xml'], 'auto_install': False, 'installable': True, - 'certificate' : '001165700015525701661', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/sale_mrp/__openerp__.py b/addons/sale_mrp/__openerp__.py index c93fdcc91fd..bc9b84cd471 100644 --- a/addons/sale_mrp/__openerp__.py +++ b/addons/sale_mrp/__openerp__.py @@ -43,6 +43,5 @@ from sales order. It adds sales name and sales Reference on production order. 'test':['test/sale_mrp.yml'], 'installable': True, 'auto_install': True, - 'certificate': '00395598976683092013', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/sale_order_dates/__openerp__.py b/addons/sale_order_dates/__openerp__.py index 7c3360f3547..6db8f2b27d9 100644 --- a/addons/sale_order_dates/__openerp__.py +++ b/addons/sale_order_dates/__openerp__.py @@ -43,7 +43,6 @@ You can add the following additional dates to a sale order: 'test': [], 'installable': True, 'auto_install': False, - 'certificate' : '00867497685972962845', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/share/__openerp__.py b/addons/share/__openerp__.py index 87a2f68bb04..94eccba2a56 100644 --- a/addons/share/__openerp__.py +++ b/addons/share/__openerp__.py @@ -50,7 +50,6 @@ synchronization with other companies. ], 'installable': True, 'web': True, - 'certificate' : '001301246528927038493', 'js': ['static/src/js/share.js'], 'css': ['static/src/css/share.css'], 'qweb' : ['static/src/xml/*.xml'], diff --git a/addons/stock/__openerp__.py b/addons/stock/__openerp__.py index b7d9ec1ceb9..966186121b6 100644 --- a/addons/stock/__openerp__.py +++ b/addons/stock/__openerp__.py @@ -98,7 +98,6 @@ Dashboard / Reports for Warehouse Management will include: 'installable': True, 'application': True, 'auto_install': False, - 'certificate': '0055421559965', 'css': [ 'static/src/css/stock.css' ], } diff --git a/addons/stock_invoice_directly/__openerp__.py b/addons/stock_invoice_directly/__openerp__.py index 57b4f8e38bb..d6f8472a8c6 100644 --- a/addons/stock_invoice_directly/__openerp__.py +++ b/addons/stock_invoice_directly/__openerp__.py @@ -40,6 +40,5 @@ wizard if the delivery is to be invoiced. 'test': ['test/stock_invoice_directly.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0081385081261', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/stock_location/__openerp__.py b/addons/stock_location/__openerp__.py index 8cc1790e7de..9d5386863e6 100644 --- a/addons/stock_location/__openerp__.py +++ b/addons/stock_location/__openerp__.py @@ -107,7 +107,6 @@ You can use the demo data as follow: 'test/stock_location_push_flow.yml', ], 'auto_install': False, - 'certificate': '0046505115101', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/stock_no_autopicking/__openerp__.py b/addons/stock_no_autopicking/__openerp__.py index d8fbb44d8bf..daae84252ad 100644 --- a/addons/stock_no_autopicking/__openerp__.py +++ b/addons/stock_no_autopicking/__openerp__.py @@ -41,6 +41,5 @@ routing of the assembly operation. 'test': ['test/stock_no_autopicking.yml'], 'installable': True, 'auto_install': False, - 'certificate': '0075124168925', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/stock_planning/__openerp__.py b/addons/stock_planning/__openerp__.py index 7e38019e3f3..ff626c63679 100644 --- a/addons/stock_planning/__openerp__.py +++ b/addons/stock_planning/__openerp__.py @@ -243,7 +243,6 @@ Remarks: 'test': ['test/stock_planning.yml'], 'auto_install': False, 'installable': True, - 'certificate' : '00872589676639788061', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/subscription/__openerp__.py b/addons/subscription/__openerp__.py index d644daa15e6..416c691f043 100644 --- a/addons/subscription/__openerp__.py +++ b/addons/subscription/__openerp__.py @@ -42,7 +42,6 @@ e.g. To have an invoice generated automatically periodically: 'demo': ['subscription_demo.xml',], 'installable': True, 'auto_install': False, - 'certificate': '0029454782573', 'images': ['images/subscription_document_fields.jpeg','images/subscriptions.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/survey/__openerp__.py b/addons/survey/__openerp__.py index 40eb3073d61..acd76ba9a6b 100644 --- a/addons/survey/__openerp__.py +++ b/addons/survey/__openerp__.py @@ -58,7 +58,6 @@ user name and password for the invitation of the survey. ], 'installable': True, 'auto_install': False, - 'certificate' : '001131639736864143245', 'images': ['images/survey_answers.jpeg','images/survey_pages.jpeg','images/surveys.jpeg'], 'css': ['static/src/css/survey.css','static/css/survey.css'], } diff --git a/addons/warning/__openerp__.py b/addons/warning/__openerp__.py index c03dc1ec488..e44b9624251 100644 --- a/addons/warning/__openerp__.py +++ b/addons/warning/__openerp__.py @@ -37,7 +37,6 @@ picking and invoice. The message is triggered by the form's onchange event. 'demo': [], 'installable': True, 'auto_install': False, - 'certificate': '0080334018749', 'images': ['images/customers_warnings.jpeg','images/sale_order_warning.jpeg'], } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: From bd31b7c55354d4a3aa9b8eba95a80844449fdfe6 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 26 Sep 2012 15:09:42 +0200 Subject: [PATCH 125/152] [API/IMP] fields: cleanup field_to_dict + make @deprecated available in fields_get() Renamed the m2m extra info keys, as their names were quite confusing (third_table?), + removed the "func_obj" key for function fields, as it was a duplicate of the "relation" kay that is already present for all relationship fields. These renames should not break anything, as this info should only be used for debug, but they still constitute an API backwards-incompatible change. bzr revid: odo@openerp.com-20120926130942-doauqgh6v35vhi29 --- openerp/osv/fields.py | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/openerp/osv/fields.py b/openerp/osv/fields.py index 037d2a90986..82fb2e9e185 100644 --- a/openerp/osv/fields.py +++ b/openerp/osv/fields.py @@ -1552,24 +1552,16 @@ def field_to_dict(model, cr, user, field, context=None): res['fnct_search'] = field._fnct_search and field._fnct_search.func_name or False res['fnct_inv'] = field._fnct_inv and field._fnct_inv.func_name or False res['fnct_inv_arg'] = field._fnct_inv_arg or False - res['func_obj'] = field._obj or False if isinstance(field, many2many): (table, col1, col2) = field._sql_names(model) - res['related_columns'] = [col1, col2] - res['third_table'] = table - for arg in ('string', 'readonly', 'states', 'size', 'required', 'group_operator', - 'change_default', 'translate', 'help', 'select', 'selectable', 'groups'): - if getattr(field, arg): - res[arg] = getattr(field, arg) - for arg in ('digits', 'invisible', 'filters'): + res['m2m_join_columns'] = [col1, col2] + res['m2m_join_table'] = table + for arg in ('string', 'readonly', 'states', 'size', 'group_operator', 'required', + 'change_default', 'translate', 'help', 'select', 'selectable', 'groups', + 'deprecated', 'digits', 'invisible', 'filters'): if getattr(field, arg, None): res[arg] = getattr(field, arg) - if field.string: - res['string'] = field.string - if field.help: - res['help'] = field.help - if hasattr(field, 'selection'): if isinstance(field.selection, (tuple, list)): res['selection'] = field.selection From add6b7b08a3d47d0b369cbcaa83e610a1f8d66e1 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 26 Sep 2012 15:10:06 +0200 Subject: [PATCH 126/152] [IMP] res.partner: explicitly deprecate `address` and `country` columns bzr revid: odo@openerp.com-20120926131006-b3mzn9y38rkg7e1s --- openerp/addons/base/res/res_partner.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/openerp/addons/base/res/res_partner.py b/openerp/addons/base/res/res_partner.py index 008e8048a5d..fe749c6013b 100644 --- a/openerp/addons/base/res/res_partner.py +++ b/openerp/addons/base/res/res_partner.py @@ -199,7 +199,10 @@ class res_partner(osv.osv, format_address): 'bank_ids': fields.one2many('res.partner.bank', 'partner_id', 'Banks'), 'website': fields.char('Website', size=64, help="Website of Partner or Company"), 'comment': fields.text('Notes'), - 'address': fields.one2many('res.partner.address', 'partner_id', 'Contacts'), # should be removed in version 7, but kept until then for backward compatibility + 'address': fields.one2many('res.partner.address', 'partner_id', 'Addresses', + deprecated="The address information is now directly stored on each Partner record. "\ + "Multiple contacts with their own address can be added via the child_ids relationship. "\ + "This field will be removed as of OpenERP 7.1."), 'category_id': fields.many2many('res.partner.category', id1='partner_id', id2='category_id', string='Tags'), 'credit_limit': fields.float(string='Credit Limit'), 'ean13': fields.char('EAN13', size=13), @@ -218,7 +221,8 @@ class res_partner(osv.osv, format_address): 'city': fields.char('City', size=128), 'state_id': fields.many2one("res.country.state", 'State'), 'country_id': fields.many2one('res.country', 'Country'), - 'country': fields.related('country_id', type='many2one', relation='res.country', string='Country'), # for backward compatibility + 'country': fields.related('country_id', type='many2one', relation='res.country', string='Country', + deprecated="This field will be removed as of OpenERP 7.1, use country_id instead"), 'email': fields.char('Email', size=240), 'phone': fields.char('Phone', size=64), 'fax': fields.char('Fax', size=64), From 7c9fa92ee44d0581d60388093f3ab3fb0fcc07fe Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 26 Sep 2012 15:49:37 +0200 Subject: [PATCH 127/152] [FIX] test invitation bzr revid: fp@tinyerp.com-20120926134937-ezeen3i5bd9nn3qy --- .../base_calendar/test/base_calendar_test.yml | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/addons/base_calendar/test/base_calendar_test.yml b/addons/base_calendar/test/base_calendar_test.yml index 2f5ff7945ee..cc1b3c3b292 100644 --- a/addons/base_calendar/test/base_calendar_test.yml +++ b/addons/base_calendar/test/base_calendar_test.yml @@ -54,24 +54,3 @@ - !python {model: calendar.event}: | self.write(cr, uid, [ref("calendar_event_alldaytestevent0")], {'alarm_id': ref("res_alarm_daybeforeeventstarts0")}) -- - In order to assign attendee I will invite Demo user -- - !record {model: base_calendar.invite.attendee, id: base_calendar_invite_attendee_0}: - type: internal - send_mail: False - partner_id: base.res_partner_9 # Put bcz of problem in read - user_ids: - - base.user_demo -- - Then I click on Invite Button -- - !python {model: base_calendar.invite.attendee}: | - self.do_invite(cr, uid, [ref("base_calendar_invite_attendee_0")], {'active_id': ref("calendar_event_alldaytestevent0"), 'model' : 'calendar.event', 'attendee_field':'attendee_ids'}) -- - Now I will Accept this invitation -- - !python {model: calendar.attendee}: | - ids = self.search(cr, uid, [('ref', '=', 'calendar.event' + ',' + str(ref("calendar_event_alldaytestevent0")))]) - if ids: - self.do_accept(cr, uid, ids, context=context) From 6c78348c1d75677b01715f3bcc8b66c868207fa7 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 26 Sep 2012 15:52:33 +0200 Subject: [PATCH 128/152] [FIX] mail test bzr revid: fp@tinyerp.com-20120926135233-v9te2bm3lxnlq216 --- addons/mail/tests/test_mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/tests/test_mail.py b/addons/mail/tests/test_mail.py index 57a59e2595f..bc7cff5c422 100644 --- a/addons/mail/tests/test_mail.py +++ b/addons/mail/tests/test_mail.py @@ -320,7 +320,7 @@ class test_mail(TestMailMockups): for sent_email in sent_emails: self.assertEqual(sent_email['subject'], _subject, 'sent_email subject incorrect') self.assertEqual(sent_email['body'], _mail_body1 + '\n
Bert Tartopoils
\n', 'sent_email body incorrect') - self.assertEqual(sent_email['body_alternative'], _mail_bodyalt1 + '\nBert Tartopoils', 'sent_email body_alternative is incorrect') + self.assertEqual(sent_email['body_alternative'], _mail_bodyalt1 + '\nBert Tartopoils\n', 'sent_email body_alternative is incorrect') # Test: mail_message: partner_ids = group followers message_pids = set([partner.id for partner in message.partner_ids]) test_pids = set([p_a_id, p_b_id, p_c_id]) From 6eb82789d60e2200aa075b6c18a2a1d2bc6b34b8 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Wed, 26 Sep 2012 16:08:02 +0200 Subject: [PATCH 129/152] [IMP] google_docusability improvements bzr revid: qdp-launchpad@openerp.com-20120926140802-b0r0ktkomj6sjchy --- addons/google_docs/google_docs.py | 6 +++--- addons/google_docs/static/src/js/gdocs.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py index 270c105daab..f1477f9c7f2 100644 --- a/addons/google_docs/google_docs.py +++ b/addons/google_docs/google_docs.py @@ -134,8 +134,8 @@ class config(osv.osv): _description = "Google Docs templates config" _columns = { - 'model_id': fields.many2one('ir.model', 'Model'), - 'gdocs_resource_id': fields.char('Google resource ID', size=64,help=''' + 'model_id': fields.many2one('ir.model', 'Model', required=True), + 'gdocs_resource_id': fields.char('Google Resource ID to Use as Template', size=64,help=''' This is the id of the template document, on google side. You can find it thanks to its URL: *for a text document with url like `https://docs.google.com/a/openerp.com/document/d/123456789/edit`, the ID is `document:123456789` *for a spreadsheet document with url like `https://docs.google.com/a/openerp.com/spreadsheet/ccc?key=123456789#gid=0`, the ID is `spreadsheet:123456789` @@ -143,7 +143,7 @@ This is the id of the template document, on google side. You can find it thanks *for a drawing document with url like `https://docs.google.com/a/openerp.com/drawings/d/123456789/edit`, the ID is `drawings:123456789` ... '''), - 'name_template': fields.char('GDoc name template ', size=64, help='This is the name which appears on google side'), + 'name_template': fields.char('Google Doc Name Pattern', size=64, help='Choose how the new google docs will be named, on google side'), } _defaults = { diff --git a/addons/google_docs/static/src/js/gdocs.js b/addons/google_docs/static/src/js/gdocs.js index 694f5736c72..bcfd24f8c0d 100644 --- a/addons/google_docs/static/src/js/gdocs.js +++ b/addons/google_docs/static/src/js/gdocs.js @@ -13,7 +13,7 @@ var _t = instance.web._t; }); if (! flag) { this.add_items('files', [ - { label: _t('Google Doc'), callback: self.on_google_doc }, + { label: _t('Add Google Doc...'), callback: self.on_google_doc }, ]); } }, From ae0d1d99a3532442df0843d3b3668f013c6db7ad Mon Sep 17 00:00:00 2001 From: "Atul Patel (OpenERP)" Date: Wed, 26 Sep 2012 21:32:33 +0530 Subject: [PATCH 130/152] [FIX]: Fix override write() method for sales team bzr revid: atp@tinyerp.com-20120926160233-1vvmf21nspprr4qp --- addons/crm/crm_lead.py | 5 ++++- addons/sale_crm/sale_crm.py | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index 7c5b4f5b632..40607341901 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -788,7 +788,10 @@ class crm_lead(base_stage, format_address, osv.osv): stage = self.pool.get('crm.case.stage').browse(cr, uid, vals['stage_id'], context=context) if stage.on_change: vals['probability'] = stage.probability - return super(crm_lead,self).write(cr, uid, ids, vals, context) + for lead in self.browse(cr, uid, ids, context=context): + if lead.section_id: + vals.update({'message_follower_ids': [(4, follow.id) for follow in lead.section_id.message_follower_ids]}) + return super(crm_lead,self).write(cr, uid, ids, vals, context) # ---------------------------------------- # Mail Gateway diff --git a/addons/sale_crm/sale_crm.py b/addons/sale_crm/sale_crm.py index d2c8358263e..cf715eb64d8 100644 --- a/addons/sale_crm/sale_crm.py +++ b/addons/sale_crm/sale_crm.py @@ -38,6 +38,12 @@ class sale_order(osv.osv): self.message_subscribe(cr, uid, [order], followers, context=context) return order + def write(self, cr, uid, ids, vals, context=None): + for order in self.browse(cr, uid, ids, context=context): + if order.section_id: + vals.update({'message_follower_ids': [(4, follow.id) for follow in order.section_id.message_follower_ids]}) + return super(sale_order, self).write(cr, uid, ids, vals, context=context) + sale_order() # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: From f7c2177157bd29e4d2ab9289f311104040701d04 Mon Sep 17 00:00:00 2001 From: "Atul Patel (OpenERP)" Date: Wed, 26 Sep 2012 21:52:25 +0530 Subject: [PATCH 131/152] [IMP]: Improve write method for project bzr revid: atp@tinyerp.com-20120926162225-io7szog9omvd0sx6 --- addons/crm/crm_lead.py | 2 +- addons/project/project.py | 4 ++++ addons/project_issue/project_issue.py | 3 +++ addons/sale_crm/sale_crm.py | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index 40607341901..db2ede3ab5e 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -790,7 +790,7 @@ class crm_lead(base_stage, format_address, osv.osv): vals['probability'] = stage.probability for lead in self.browse(cr, uid, ids, context=context): if lead.section_id: - vals.update({'message_follower_ids': [(4, follow.id) for follow in lead.section_id.message_follower_ids]}) + vals.update({'message_follower_ids': [(4, follower.id) for follower in lead.section_id.message_follower_ids]}) return super(crm_lead,self).write(cr, uid, ids, vals, context) # ---------------------------------------- diff --git a/addons/project/project.py b/addons/project/project.py index eeab7a6b972..31b4f5ad4a4 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -1114,6 +1114,10 @@ class task(base_stage, osv.osv): def write(self, cr, uid, ids, vals, context=None): if isinstance(ids, (int, long)): ids = [ids] + for task in self.browse(cr, uid, ids, context=context): + if task.project_id: + vals.update({'message_follower_ids': [(4, follower.id) for follower in task.project_id.message_follower_ids]}) + if vals and not 'kanban_state' in vals and 'stage_id' in vals: new_stage = vals.get('stage_id') vals_reset_kstate = dict(vals, kanban_state='normal') diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index 27b63b01366..f9d48ae6036 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -364,6 +364,9 @@ class project_issue(base_stage, osv.osv): logged_fields = ['stage_id', 'state', 'message_ids'] if any([field in vals for field in logged_fields]): vals['date_action_last'] = time.strftime('%Y-%m-%d %H:%M:%S') + for issue in self.browse(cr, uid, ids, context=context): + if issue.project_id: + vals.update({'message_follower_ids': [(4, follower.id) for follower in issue.project_id.message_follower_ids]}) return super(project_issue, self).write(cr, uid, ids, vals, context) def onchange_task_id(self, cr, uid, ids, task_id, context=None): diff --git a/addons/sale_crm/sale_crm.py b/addons/sale_crm/sale_crm.py index cf715eb64d8..7ed3db401c1 100644 --- a/addons/sale_crm/sale_crm.py +++ b/addons/sale_crm/sale_crm.py @@ -41,7 +41,7 @@ class sale_order(osv.osv): def write(self, cr, uid, ids, vals, context=None): for order in self.browse(cr, uid, ids, context=context): if order.section_id: - vals.update({'message_follower_ids': [(4, follow.id) for follow in order.section_id.message_follower_ids]}) + vals.update({'message_follower_ids': [(4, follower.id) for follower in order.section_id.message_follower_ids]}) return super(sale_order, self).write(cr, uid, ids, vals, context=context) sale_order() From 3cf8404b9b9243a501ef33e7c5aaa68e13d4ad79 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 26 Sep 2012 18:40:59 +0200 Subject: [PATCH 132/152] [REVERT] mail: undo apparently incorrect test change bzr revid: odo@openerp.com-20120926164059-11wuh2z5ix7ugqej --- addons/mail/tests/test_mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/tests/test_mail.py b/addons/mail/tests/test_mail.py index bc7cff5c422..57a59e2595f 100644 --- a/addons/mail/tests/test_mail.py +++ b/addons/mail/tests/test_mail.py @@ -320,7 +320,7 @@ class test_mail(TestMailMockups): for sent_email in sent_emails: self.assertEqual(sent_email['subject'], _subject, 'sent_email subject incorrect') self.assertEqual(sent_email['body'], _mail_body1 + '\n
Bert Tartopoils
\n', 'sent_email body incorrect') - self.assertEqual(sent_email['body_alternative'], _mail_bodyalt1 + '\nBert Tartopoils\n', 'sent_email body_alternative is incorrect') + self.assertEqual(sent_email['body_alternative'], _mail_bodyalt1 + '\nBert Tartopoils', 'sent_email body_alternative is incorrect') # Test: mail_message: partner_ids = group followers message_pids = set([partner.id for partner in message.partner_ids]) test_pids = set([p_a_id, p_b_id, p_c_id]) From feec62da0b550c2f3c8a181cc5166c4c036fc2c6 Mon Sep 17 00:00:00 2001 From: "Atul Patel (OpenERP)" Date: Wed, 26 Sep 2012 22:54:29 +0530 Subject: [PATCH 133/152] [FIX]: Fix task name bzr revid: atp@tinyerp.com-20120926172429-cvk8ueo1rg52a4ir --- addons/project/project.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/project/project.py b/addons/project/project.py index 31b4f5ad4a4..4276f9d7885 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -1114,9 +1114,9 @@ class task(base_stage, osv.osv): def write(self, cr, uid, ids, vals, context=None): if isinstance(ids, (int, long)): ids = [ids] - for task in self.browse(cr, uid, ids, context=context): - if task.project_id: - vals.update({'message_follower_ids': [(4, follower.id) for follower in task.project_id.message_follower_ids]}) + for t in self.browse(cr, uid, ids, context=context): + if t.project_id: + vals.update({'message_follower_ids': [(4, follower.id) for follower in t.project_id.message_follower_ids]}) if vals and not 'kanban_state' in vals and 'stage_id' in vals: new_stage = vals.get('stage_id') From 97fdf97be2e26cb7f1ff973a6ca9222e749762fd Mon Sep 17 00:00:00 2001 From: "Atul Patel (OpenERP)" Date: Wed, 26 Sep 2012 23:26:59 +0530 Subject: [PATCH 134/152] [FIX]: Add help instead of follow_help key bzr revid: atp@tinyerp.com-20120926175659-7x7r0zpek55jqaeq --- addons/crm/crm_view.xml | 2 +- addons/mail/static/src/js/mail_followers.js | 1 + addons/mail/static/src/xml/mail_followers.xml | 4 ++-- addons/project/project_view.xml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/addons/crm/crm_view.xml b/addons/crm/crm_view.xml index 63f709f1290..3af7426a957 100644 --- a/addons/crm/crm_view.xml +++ b/addons/crm/crm_view.xml @@ -117,7 +117,7 @@
- +
diff --git a/addons/mail/static/src/js/mail_followers.js b/addons/mail/static/src/js/mail_followers.js index 3527313a72c..b9d515fddc8 100644 --- a/addons/mail/static/src/js/mail_followers.js +++ b/addons/mail/static/src/js/mail_followers.js @@ -28,6 +28,7 @@ openerp_mail_followers = function(session, mail) { this.options.image = this.node.attrs.image || 'image_small'; this.options.title = this.node.attrs.title || 'Followers'; this.options.context = this.node.attrs.context; + this.options.comment = this.node.attrs.help || false; this.ds_model = new session.web.DataSetSearch(this, this.view.model); this.ds_follow = new session.web.DataSetSearch(this, this.field.relation); }, diff --git a/addons/mail/static/src/xml/mail_followers.xml b/addons/mail/static/src/xml/mail_followers.xml index e8a6a2aa910..cf31ab3e24c 100644 --- a/addons/mail/static/src/xml/mail_followers.xml +++ b/addons/mail/static/src/xml/mail_followers.xml @@ -12,8 +12,8 @@
- -
+ +
diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index 462f622fa03..45ba2f3cc38 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -153,7 +153,7 @@
- +
From d050d743ee8cd5b8ab62aafae8abc142702b7891 Mon Sep 17 00:00:00 2001 From: "Atul Patel (OpenERP)" Date: Thu, 27 Sep 2012 00:14:45 +0530 Subject: [PATCH 135/152] [FIX]: override write method into hr module.. bzr revid: atp@tinyerp.com-20120926184445-3o03o0n4oxgprern --- addons/crm/crm_lead.py | 2 +- addons/hr_evaluation/hr_evaluation.py | 3 +++ addons/hr_expense/hr_expense.py | 6 ++++++ addons/hr_holidays/hr_holidays.py | 8 ++++++++ addons/hr_timesheet_sheet/hr_timesheet_sheet.py | 3 +++ addons/project/project.py | 2 +- addons/project_issue/project_issue.py | 2 +- addons/sale_crm/sale_crm.py | 2 +- 8 files changed, 24 insertions(+), 4 deletions(-) diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index db2ede3ab5e..118847d46b6 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -790,7 +790,7 @@ class crm_lead(base_stage, format_address, osv.osv): vals['probability'] = stage.probability for lead in self.browse(cr, uid, ids, context=context): if lead.section_id: - vals.update({'message_follower_ids': [(4, follower.id) for follower in lead.section_id.message_follower_ids]}) + vals['message_follower_ids'] = [(4, follower.id) for follower in lead.section_id.message_follower_ids] return super(crm_lead,self).write(cr, uid, ids, vals, context) # ---------------------------------------- diff --git a/addons/hr_evaluation/hr_evaluation.py b/addons/hr_evaluation/hr_evaluation.py index a81d1c9b9cb..61d506d220a 100644 --- a/addons/hr_evaluation/hr_evaluation.py +++ b/addons/hr_evaluation/hr_evaluation.py @@ -266,6 +266,9 @@ class hr_evaluation(osv.osv): return True def write(self, cr, uid, ids, vals, context=None): + for evalutation in self.browse(cr, uid, ids, context=context): + if evalutation.employee_id and evalutation.employee_id.parent_id and evalutation.employee_id.parent_id.user_id: + vals['message_follower_ids'] = [(4, evalutation.employee_id.parent_id.user_id.partner_id.id)] if 'date' in vals: new_vals = {'date_deadline': vals.get('date')} obj_hr_eval_iterview = self.pool.get('hr.evaluation.interview') diff --git a/addons/hr_expense/hr_expense.py b/addons/hr_expense/hr_expense.py index 91dc44fed61..ae67a20e270 100644 --- a/addons/hr_expense/hr_expense.py +++ b/addons/hr_expense/hr_expense.py @@ -100,6 +100,12 @@ class hr_expense_expense(osv.osv): 'currency_id': _get_currency, } + def write(self, cr, uid, ids, vals, context=None): + for expense in self.browse(cr, uid, ids): + if expense.employee_id and expense.employee_id.parent_id.user_id: + vals['message_follower_ids'] = [(4, expense.employee_id.parent_id.user_id.partner_id.id)] + return super(hr_expense_expense, self).write(cr, uid, ids, vals, context=context) + def onchange_currency_id(self, cr, uid, ids, currency_id=False, company_id=False, context=None): res = {'value': {'journal_id': False}} journal_ids = self.pool.get('account.journal').search(cr, uid, [('type','=','purchase'), ('currency','=',currency_id), ('company_id', '=', company_id)], context=context) diff --git a/addons/hr_holidays/hr_holidays.py b/addons/hr_holidays/hr_holidays.py index 76d4e42818a..30ef776574f 100644 --- a/addons/hr_holidays/hr_holidays.py +++ b/addons/hr_holidays/hr_holidays.py @@ -307,6 +307,14 @@ class hr_holidays(osv.osv): self.holidays_confirm_notificate(cr, uid, ids, context=context) return self.write(cr, uid, ids, {'state':'confirm'}) + def write(self, cr, uid, ids, vals, context=None): + for holiday in self.browse(cr, uid, ids): + if holiday.employee_id and holiday.employee_id.parent_id.user_id: + vals['message_follower_ids'] = [(4, holiday.employee_id.parent_id.user_id.partner_id.id)] + return super(hr_holidays, self).write(cr, uid, ids, vals, context=context) + + + def holidays_refuse(self, cr, uid, ids, context=None): obj_emp = self.pool.get('hr.employee') ids2 = obj_emp.search(cr, uid, [('user_id', '=', uid)]) diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py index 13c11cf72c7..49d50ea2552 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet.py +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet.py @@ -252,6 +252,9 @@ class hr_timesheet_sheet(osv.osv): return super(hr_timesheet_sheet, self).create(cr, uid, vals, *args, **argv) def write(self, cr, uid, ids, vals, *args, **argv): + for timesheet in self.browse(cr, uid, ids): + if timesheet.employee_id and timesheet.employee_id.parent_id.user_id: + vals['message_follower_ids'] = [(4, timesheet.employee_id.parent_id.user_id.partner_id.id)] if 'employee_id' in vals: new_user_id = self.pool.get('hr.employee').browse(cr, uid, vals['employee_id']).user_id.id or False if not new_user_id: diff --git a/addons/project/project.py b/addons/project/project.py index 4276f9d7885..ebfa5902c35 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -1116,7 +1116,7 @@ class task(base_stage, osv.osv): ids = [ids] for t in self.browse(cr, uid, ids, context=context): if t.project_id: - vals.update({'message_follower_ids': [(4, follower.id) for follower in t.project_id.message_follower_ids]}) + vals['message_follower_ids'] = [(4, follower.id) for follower in t.project_id.message_follower_ids] if vals and not 'kanban_state' in vals and 'stage_id' in vals: new_stage = vals.get('stage_id') diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index f9d48ae6036..15eb1ee5f7c 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -366,7 +366,7 @@ class project_issue(base_stage, osv.osv): vals['date_action_last'] = time.strftime('%Y-%m-%d %H:%M:%S') for issue in self.browse(cr, uid, ids, context=context): if issue.project_id: - vals.update({'message_follower_ids': [(4, follower.id) for follower in issue.project_id.message_follower_ids]}) + vals['message_follower_ids'] = [(4, follower.id) for follower in issue.project_id.message_follower_ids] return super(project_issue, self).write(cr, uid, ids, vals, context) def onchange_task_id(self, cr, uid, ids, task_id, context=None): diff --git a/addons/sale_crm/sale_crm.py b/addons/sale_crm/sale_crm.py index 7ed3db401c1..a0d680cbde5 100644 --- a/addons/sale_crm/sale_crm.py +++ b/addons/sale_crm/sale_crm.py @@ -41,7 +41,7 @@ class sale_order(osv.osv): def write(self, cr, uid, ids, vals, context=None): for order in self.browse(cr, uid, ids, context=context): if order.section_id: - vals.update({'message_follower_ids': [(4, follower.id) for follower in order.section_id.message_follower_ids]}) + vals['message_follower_ids'] = [(4, follower.id) for follower in order.section_id.message_follower_ids] return super(sale_order, self).write(cr, uid, ids, vals, context=context) sale_order() From 92ea964019a350fc1c2fac173bbc33aecee11bd3 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 26 Sep 2012 22:51:05 +0200 Subject: [PATCH 136/152] [FIX] invitation on meetings bzr revid: fp@openerp.com-20120926205105-6638lw5v70leui34 --- addons/base_calendar/base_calendar.py | 42 ++++++++++++++++++----- addons/base_calendar/crm_meeting.py | 30 +++++++++++++++- addons/base_calendar/crm_meeting_view.xml | 18 +++++----- 3 files changed, 73 insertions(+), 17 deletions(-) diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index 73811d5ba71..6176b2804f3 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -1060,6 +1060,37 @@ rule or repeating pattern of time to exclude from the recurring rule."), 'recurrency': fields.boolean('Recurrent', help="Recurrent Meeting"), } + def create_attendees(self, cr, uid, ids, context): + att_obj = self.pool.get('calendar.attendee') + user_obj = self.pool.get('res.users') + current_user = user_obj.browse(cr, uid, uid, context=context) + for event in self.browse(cr, uid, ids, context): + attendees = {} + for att in event.attendee_ids: + attendees[att.partner_id.id] = True + new_attendees = [] + mail_to = [] + for partner in event.partner_ids: + if partner.id in attendees: + continue + att_id = self.pool.get('calendar.attendee').create(cr, uid, { + 'partner_id': partner.id, + 'user_id': partner.user_ids and partner.user_ids[0].id or False, + 'ref': self._name+','+str(event.id), + 'email': partner.email + }, context=context) + if partner.email: + mail_to.append(partner.email) + self.write(cr, uid, [event.id], { + 'attendee_ids': [(4, att_id)] + }, context=context) + new_attendees.append(att_id) + + if mail_to and current_user.email: + att_obj._send_mail(cr, uid, new_attendees, mail_to, + email_from = current_user.email) + return True + def default_organizer(self, cr, uid, context=None): user_pool = self.pool.get('res.users') user = user_pool.browse(cr, uid, uid, context=context) @@ -1366,6 +1397,8 @@ rule or repeating pattern of time to exclude from the recurring rule."), vals['vtimezone'] = vals['vtimezone'][40:] res = super(calendar_event, self).write(cr, uid, ids, vals, context=context) + if vals.get('partner_ids', False): + self.create_attendees(cr, uid, ids, context) if ('alarm_id' in vals or 'base_calendar_alarm_id' in vals)\ or ('date' in vals or 'duration' in vals or 'date_deadline' in vals): @@ -1489,17 +1522,10 @@ rule or repeating pattern of time to exclude from the recurring rule."), if vals.get('vtimezone', '') and vals.get('vtimezone', '').startswith('/freeassociation.sourceforge.net/tzfile/'): vals['vtimezone'] = vals['vtimezone'][40:] - #updated_vals = self.onchange_dates(cr, uid, [], - # vals.get('date', False), - # vals.get('duration', False), - # vals.get('date_deadline', False), - # vals.get('allday', False), - # context=context) - #vals.update(updated_vals.get('value', {})) - res = super(calendar_event, self).create(cr, uid, vals, context) alarm_obj = self.pool.get('res.alarm') alarm_obj.do_alarm_create(cr, uid, [res], self._name, 'date', context=context) + self.create_attendees(cr, uid, [res], context) return res def do_tentative(self, cr, uid, ids, context=None, *args): diff --git a/addons/base_calendar/crm_meeting.py b/addons/base_calendar/crm_meeting.py index 0ee23ed1d0f..b87114f3a66 100644 --- a/addons/base_calendar/crm_meeting.py +++ b/addons/base_calendar/crm_meeting.py @@ -71,6 +71,34 @@ class crm_meeting(base_state, osv.Model): default['attendee_ids'] = False return super(crm_meeting, self).copy(cr, uid, id, default, context) + def onchange_partner_ids(self, cr, uid, ids, value, context=None): + """ The basic purpose of this method is to check that destination partners + effectively have email addresses. Otherwise a warning is thrown. + :param value: value format: [[6, 0, [3, 4]]] + """ + res = {'value': {}} + if not value or not value[0] or not value[0][0] == 6: + return + res.update(self.check_partners_email(cr, uid, value[0][2], context=context)) + return res + + def check_partners_email(self, cr, uid, partner_ids, context=None): + """ Verify that selected partner_ids have an email_address defined. + Otherwise throw a warning. """ + partner_wo_email_lst = [] + for partner in self.pool.get('res.partner').browse(cr, uid, partner_ids, context=context): + if not partner.email: + partner_wo_email_lst.append(partner) + if not partner_wo_email_lst: + return {} + warning_msg = _('The following contacts have no email address :') + for partner in partner_wo_email_lst: + warning_msg += '\n- %s' % (partner.name) + return {'warning': { + 'title': _('Email addresses not found'), + 'message': warning_msg, + } + } # ---------------------------------------- # OpenChatter # ---------------------------------------- @@ -80,7 +108,7 @@ class crm_meeting(base_state, osv.Model): return [('date','<=',time.strftime('%Y-%M-%D 23:59:59')), ('date_deadline','>=', time.strftime('%Y-%M-%D 00:00:00')), ('user_id','=',uid)] def case_get_note_msg_prefix(self, cr, uid, id, context=None): - return 'Meeting' + return _('Meeting') def case_open_send_note(self, cr, uid, ids, context=None): return self.message_post(cr, uid, ids, body=_("Meeting confirmed."), context=context) diff --git a/addons/base_calendar/crm_meeting_view.xml b/addons/base_calendar/crm_meeting_view.xml index 4b165c1d495..2da18447820 100644 --- a/addons/base_calendar/crm_meeting_view.xml +++ b/addons/base_calendar/crm_meeting_view.xml @@ -80,7 +80,9 @@
@@ -88,11 +90,12 @@ -