diff options
| author | chm@openerp.com <> | 2014-04-23 17:48:52 +0200 |
|---|---|---|
| committer | chm@openerp.com <> | 2014-04-23 17:48:52 +0200 |
| commit | ee7ff4bd07d8d84ed2ebb0e2e3f5eb437f158e5b (patch) | |
| tree | 25577845139d390f9bf27e0237d18842aeace02b /addons/crm | |
| parent | b1bc68d8eb374f30173e03e8048d1c3588a00d4b (diff) | |
| parent | 1657ffb8e7d95ef5f94e59121737abb068371b66 (diff) | |
[MERGE] from trunk
bzr revid: chm@openerp.com-20140423154852-gzegxqrzb2sj01zl
Diffstat (limited to 'addons/crm')
70 files changed, 178 insertions, 292 deletions
diff --git a/addons/crm/__openerp__.py b/addons/crm/__openerp__.py index 1b0cbed7937..d5bb98c50a5 100644 --- a/addons/crm/__openerp__.py +++ b/addons/crm/__openerp__.py @@ -72,20 +72,18 @@ Dashboard for CRM will include: 'wizard/crm_phonecall_to_phonecall_view.xml', - 'wizard/crm_opportunity_to_phonecall_view.xml', - 'wizard/crm_merge_opportunities_view.xml', 'crm_view.xml', + + 'crm_phonecall_view.xml', + 'crm_phonecall_menu.xml', 'crm_lead_view.xml', 'crm_lead_menu.xml', 'calendar_event_menu.xml', - 'crm_phonecall_view.xml', - 'crm_phonecall_menu.xml', - 'report/crm_lead_report_view.xml', 'report/crm_phonecall_report_view.xml', diff --git a/addons/crm/crm_case_section_view.xml b/addons/crm/crm_case_section_view.xml index d3ad226dbea..04ad124f652 100644 --- a/addons/crm/crm_case_section_view.xml +++ b/addons/crm/crm_case_section_view.xml @@ -153,7 +153,7 @@ <field name="user_id"/> <field name="note"/> <field name="code"/> - <filter name="personal" string="My Salesteams" domain="['|', ('member_ids', '=', uid), ('user_id', '=', uid)]"/> + <filter name="personal" string="My Sales Teams" domain="['|', ('member_ids', '=', uid), ('user_id', '=', uid)]"/> <group expand="0" string="Group By..."> <filter string="Team Leader" domain="[]" context="{'group_by':'user_id'}"/> <filter string="Parent Sales Teams" domain="[]" context="{'group_by':'parent_id'}"/> diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index bf9b6533b4a..6eff2269b0c 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -79,6 +79,7 @@ class crm_lead(format_address, osv.osv): 'crm.mt_lead_lost': lambda self, cr, uid, obj, ctx=None: obj.probability == 0 and obj.stage_id and obj.stage_id.fold and obj.stage_id.sequence > 1, }, } + _mail_mass_mailing = _('Leads / Opportunities') def get_empty_list_help(self, cr, uid, help, context=None): if context.get('default_type') == 'lead': @@ -897,21 +898,22 @@ class crm_lead(format_address, osv.osv): 'type': 'ir.actions.act_window', } - def action_makeMeeting(self, cr, uid, ids, context=None): + def action_schedule_meeting(self, cr, uid, ids, context=None): """ Open meeting's calendar view to schedule meeting on current opportunity. :return dict: dictionary value for created Meeting view """ - opportunity = self.browse(cr, uid, ids[0], context) + lead = self.browse(cr, uid, ids[0], context) res = self.pool.get('ir.actions.act_window').for_xml_id(cr, uid, 'calendar', 'action_calendar_event', context) + partner_ids = [self.pool['res.users'].browse(cr, uid, uid, context=context).partner_id.id] + if lead.partner_id: + partner_ids.append(lead.partner_id.id) res['context'] = { - 'default_opportunity_id': opportunity.id, - 'default_partner_id': opportunity.partner_id and opportunity.partner_id.id or False, - 'default_partner_ids' : opportunity.partner_id and [opportunity.partner_id.id] or False, - 'default_user_id': uid, - 'default_section_id': opportunity.section_id and opportunity.section_id.id or False, - 'default_email_from': opportunity.email_from, - 'default_name': opportunity.name, + 'default_opportunity_id': lead.type == 'opportunity' and lead.id or False, + 'default_partner_id': lead.partner_id and lead.partner_id.id or False, + 'default_partner_ids': partner_ids, + 'default_section_id': lead.section_id and lead.section_id.id or False, + 'default_name': lead.name, } return res @@ -971,15 +973,13 @@ class crm_lead(format_address, osv.osv): return [lead.section_id.message_get_reply_to()[0] if lead.section_id else False for lead in self.browse(cr, SUPERUSER_ID, ids, context=context)] - def _get_formview_action(self, cr, uid, id, context=None): - action = super(crm_lead, self)._get_formview_action(cr, uid, id, context=context) + def get_formview_id(self, cr, uid, id, context=None): obj = self.browse(cr, uid, id, context=context) if obj.type == 'opportunity': model, view_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'crm', 'crm_case_form_view_oppor') - action.update({ - 'views': [(view_id, 'form')], - }) - return action + else: + view_id = super(crm_lead, self).get_formview_id(cr, uid, id, model=model, context=context) + return view_id def message_get_suggested_recipients(self, cr, uid, ids, context=None): recipients = super(crm_lead, self).message_get_suggested_recipients(cr, uid, ids, context=context) diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index cfa0c352253..c081fda73d0 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -103,9 +103,9 @@ </header> <sheet> <div class="oe_right oe_button_box" name="buttons"> - <button string="Schedule/Log Call" - name="%(opportunity2phonecall_act)d" - type="action"/> + <button class="oe_inline" type="action" string="Calls" + name="%(crm.crm_case_categ_phone_incoming0)d" + context="{'default_opportunity_id': active_id, 'search_default_opportunity_id': active_id, 'default_partner_id': partner_id, 'default_duration': 1.0}"/> </div> <div class="oe_title"> <label for="name" class="oe_edit_only"/> @@ -278,8 +278,8 @@ <t t-if="widget.view.is_action_enabled('edit')"><li><a type="edit">Edit...</a></li></t> <t t-if="widget.view.is_action_enabled('delete')"><li><a type="delete">Delete</a></li></t> <li><a name="%(mail.action_email_compose_message_wizard)d" type="action">Send Email</a></li> - <li><a name="%(opportunity2phonecall_act)d" type="action">Schedule/Log Call</a></li> - <li><a name="action_makeMeeting" type="object">Schedule Meeting</a></li> + <li><a type="action" name="%(crm.crm_case_categ_phone_incoming0)d" >Calls</a></li> + <li><a name="action_schedule_meeting" type="object">Schedule Meeting</a></li> <li><ul class="oe_kanban_colorpicker" data-field="color"/></li> </ul> </div> @@ -361,8 +361,8 @@ <filter string="Last Post (weekly)" name="group_message_last_post" domain="[]" context="{'group_by':'message_last_post:week'}"/> </group> <group string="Display"> - <filter string="Show Countries" context="{'invisible_country': False}" help="Show Countries"/> - <filter string="Show Sales Team" context="{'invisible_section': False}" domain="[]" help="Show Sales Team" groups="base.group_multi_salesteams"/> + <filter string="Countries" context="{'invisible_country': False}" help="Countries"/> + <filter string="Sales Team" context="{'invisible_section': False}" domain="[]" help="Sales Team" groups="base.group_multi_salesteams"/> </group> </search> </field> @@ -389,11 +389,11 @@ </header> <sheet> <div class="oe_right oe_button_box"> - <button string="Schedule/Log Call" type="action" - name="%(opportunity2phonecall_act)d"/> - <button string="Meeting" type="object" - name="action_makeMeeting" - context="{'search_default_attendee_id': active_id, 'default_attendee_id' : active_id}"/> + <button class="oe_inline" type="action" string="Calls" + name="%(crm.crm_case_categ_phone_incoming0)d" + context="{'default_opportunity_id': active_id, 'search_default_opportunity_id': active_id, 'default_partner_id': partner_id, 'default_duration': 1.0}"/> + <button class="oe_inline" string="Schedule a Meeting" type="object" + name="action_schedule_meeting" context="{'partner_id': partner_id}"/> </div> <div class="oe_title"> <label for="name" class="oe_edit_only"/> @@ -581,8 +581,8 @@ <filter string="Last Post (weekly)" name="group_message_last_post" domain="[]" context="{'group_by':'message_last_post:week'}"/> </group> <group string="Display"> - <filter string="Show Sales Team" context="{'invisible_section': False}" domain="[]" help="Show Sales Team" groups="base.group_multi_salesteams"/> - <filter string="Show Countries" context="{'invisible_country': False}" help="Show Countries"/> + <filter string="Sales Team" context="{'invisible_section': False}" domain="[]" help="Sales Team" groups="base.group_multi_salesteams"/> + <filter string="Countries" context="{'invisible_country': False}" help="Countries"/> </group> </search> </field> diff --git a/addons/crm/crm_phonecall_menu.xml b/addons/crm/crm_phonecall_menu.xml index f28a49a55e7..4ab33502a3d 100644 --- a/addons/crm/crm_phonecall_menu.xml +++ b/addons/crm/crm_phonecall_menu.xml @@ -144,7 +144,8 @@ <menuitem name="Scheduled Calls" id="menu_crm_case_phone_outbound" parent="crm.menu_crm_case_phone" - action="crm_case_categ_phone_outgoing0" /> + groups="crm.group_scheduled_calls" + action="crm_case_categ_phone_outgoing0"/> </data> </openerp> diff --git a/addons/crm/crm_phonecall_view.xml b/addons/crm/crm_phonecall_view.xml index 60b5934ac53..23e5d08f924 100644 --- a/addons/crm/crm_phonecall_view.xml +++ b/addons/crm/crm_phonecall_view.xml @@ -178,6 +178,7 @@ help="Phone Calls Assigned to the current user or with a team having the current user as team leader"/> <field name="partner_id" filter_domain="[('partner_id','child_of',self)]"/> <field name="user_id"/> + <field name="opportunity_id"/> <field name="section_id" string="Sales Team" groups="base.group_multi_salesteams"/> <group expand="0" string="Group By..."> diff --git a/addons/crm/i18n/ar.po b/addons/crm/i18n/ar.po index e709b2cd7bf..98ba93d2900 100644 --- a/addons/crm/i18n/ar.po +++ b/addons/crm/i18n/ar.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:19+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/bg.po b/addons/crm/i18n/bg.po index ff59fa7435e..6f2ff01f15e 100644 --- a/addons/crm/i18n/bg.po +++ b/addons/crm/i18n/bg.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:19+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/bs.po b/addons/crm/i18n/bs.po index b6d9aa96cd8..5bf1382f911 100644 --- a/addons/crm/i18n/bs.po +++ b/addons/crm/i18n/bs.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:19+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/ca.po b/addons/crm/i18n/ca.po index 91cd79e3c68..3d5e26eded8 100644 --- a/addons/crm/i18n/ca.po +++ b/addons/crm/i18n/ca.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:19+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/cs.po b/addons/crm/i18n/cs.po index d5fdbea33f5..0c59efd0edc 100644 --- a/addons/crm/i18n/cs.po +++ b/addons/crm/i18n/cs.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:19+0000\n" +"X-Generator: Launchpad (build 16985)\n" "X-Poedit-Language: Czech\n" #. module: crm diff --git a/addons/crm/i18n/da.po b/addons/crm/i18n/da.po index f535411eefb..e849b273370 100644 --- a/addons/crm/i18n/da.po +++ b/addons/crm/i18n/da.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:19+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/de.po b/addons/crm/i18n/de.po index 0061a79ec7c..75870774a49 100644 --- a/addons/crm/i18n/de.po +++ b/addons/crm/i18n/de.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:20+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/el.po b/addons/crm/i18n/el.po index 604238c3989..ae00359990a 100644 --- a/addons/crm/i18n/el.po +++ b/addons/crm/i18n/el.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:20+0000\n" +"X-Generator: Launchpad (build 16985)\n" "X-Poedit-Country: GREECE\n" "X-Poedit-Language: Greek\n" "X-Poedit-SourceCharset: utf-8\n" diff --git a/addons/crm/i18n/es.po b/addons/crm/i18n/es.po index 023a73e54c3..47cef8db723 100644 --- a/addons/crm/i18n/es.po +++ b/addons/crm/i18n/es.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:01+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:23+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/es_AR.po b/addons/crm/i18n/es_AR.po index c8f59d94cdb..2e7d069aed7 100644 --- a/addons/crm/i18n/es_AR.po +++ b/addons/crm/i18n/es_AR.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:02+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:24+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/es_CR.po b/addons/crm/i18n/es_CR.po index baa6e8276c8..0404ed8329f 100644 --- a/addons/crm/i18n/es_CR.po +++ b/addons/crm/i18n/es_CR.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:02+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:24+0000\n" +"X-Generator: Launchpad (build 16985)\n" "Language: \n" #. module: crm diff --git a/addons/crm/i18n/es_EC.po b/addons/crm/i18n/es_EC.po index 1cd092aea83..684730329b1 100644 --- a/addons/crm/i18n/es_EC.po +++ b/addons/crm/i18n/es_EC.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:03+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:25+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/es_MX.po b/addons/crm/i18n/es_MX.po index 69a3a9770ad..2bcffadacfa 100644 --- a/addons/crm/i18n/es_MX.po +++ b/addons/crm/i18n/es_MX.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:03+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:25+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/es_PY.po b/addons/crm/i18n/es_PY.po index 1df74663710..f4fbaeb8e77 100644 --- a/addons/crm/i18n/es_PY.po +++ b/addons/crm/i18n/es_PY.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:03+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:25+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/et.po b/addons/crm/i18n/et.po index f0ba6c5835b..a555b394e85 100644 --- a/addons/crm/i18n/et.po +++ b/addons/crm/i18n/et.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:19+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/fi.po b/addons/crm/i18n/fi.po index 3f182e59196..9d9374e198d 100644 --- a/addons/crm/i18n/fi.po +++ b/addons/crm/i18n/fi.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:20+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/fr.po b/addons/crm/i18n/fr.po index 2ce05aeb075..136b4af5a1a 100644 --- a/addons/crm/i18n/fr.po +++ b/addons/crm/i18n/fr.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:20+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/gl.po b/addons/crm/i18n/gl.po index 26e24fa5115..74536edd1f5 100644 --- a/addons/crm/i18n/gl.po +++ b/addons/crm/i18n/gl.po @@ -15,8 +15,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:20+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/gu.po b/addons/crm/i18n/gu.po index d2e3eec33a9..c87d8cb7a97 100644 --- a/addons/crm/i18n/gu.po +++ b/addons/crm/i18n/gu.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:20+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/he.po b/addons/crm/i18n/he.po index 281130913fa..26c397f9bf3 100644 --- a/addons/crm/i18n/he.po +++ b/addons/crm/i18n/he.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:21+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/hr.po b/addons/crm/i18n/hr.po index 9f6e1c88aca..2f5b0fa62fd 100644 --- a/addons/crm/i18n/hr.po +++ b/addons/crm/i18n/hr.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:01+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:23+0000\n" +"X-Generator: Launchpad (build 16985)\n" "Language: hr\n" #. module: crm diff --git a/addons/crm/i18n/hu.po b/addons/crm/i18n/hu.po index 832c589b756..91f153ac707 100644 --- a/addons/crm/i18n/hu.po +++ b/addons/crm/i18n/hu.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:21+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: model:crm.case.stage,name:crm.stage_lead3 diff --git a/addons/crm/i18n/id.po b/addons/crm/i18n/id.po index 410bb0b2144..6bea213bd6b 100644 --- a/addons/crm/i18n/id.po +++ b/addons/crm/i18n/id.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:21+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/it.po b/addons/crm/i18n/it.po index 559e6c42d14..62369a0df3f 100644 --- a/addons/crm/i18n/it.po +++ b/addons/crm/i18n/it.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:21+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/ja.po b/addons/crm/i18n/ja.po index cd8790adfcb..35a3fdf858b 100644 --- a/addons/crm/i18n/ja.po +++ b/addons/crm/i18n/ja.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:21+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/ko.po b/addons/crm/i18n/ko.po index f64b033de9e..ad616a19046 100644 --- a/addons/crm/i18n/ko.po +++ b/addons/crm/i18n/ko.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:21+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/lo.po b/addons/crm/i18n/lo.po index 281bf7e910b..fc8945e318b 100644 --- a/addons/crm/i18n/lo.po +++ b/addons/crm/i18n/lo.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:21+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/lt.po b/addons/crm/i18n/lt.po index 40173c0c2f3..16db406ac65 100644 --- a/addons/crm/i18n/lt.po +++ b/addons/crm/i18n/lt.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:22+0000\n" +"X-Generator: Launchpad (build 16985)\n" "Language: lt\n" #. module: crm diff --git a/addons/crm/i18n/lv.po b/addons/crm/i18n/lv.po index f3d07c413ed..020a2ec5329 100644 --- a/addons/crm/i18n/lv.po +++ b/addons/crm/i18n/lv.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:21+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/mk.po b/addons/crm/i18n/mk.po index e464a901445..ee3e0d12714 100644 --- a/addons/crm/i18n/mk.po +++ b/addons/crm/i18n/mk.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:22+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/mn.po b/addons/crm/i18n/mn.po index 547993d3849..c6a5c7e8865 100644 --- a/addons/crm/i18n/mn.po +++ b/addons/crm/i18n/mn.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:59+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:22+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/nb.po b/addons/crm/i18n/nb.po index a0b1a386619..f0d3100f5fe 100644 --- a/addons/crm/i18n/nb.po +++ b/addons/crm/i18n/nb.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:00+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:22+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/nl.po b/addons/crm/i18n/nl.po index 8e135958ce0..5333affcc5a 100644 --- a/addons/crm/i18n/nl.po +++ b/addons/crm/i18n/nl.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:19+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/nl_BE.po b/addons/crm/i18n/nl_BE.po index 98988165e01..7216ac3aa60 100644 --- a/addons/crm/i18n/nl_BE.po +++ b/addons/crm/i18n/nl_BE.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:02+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:24+0000\n" +"X-Generator: Launchpad (build 16985)\n" "Language: nl\n" #. module: crm diff --git a/addons/crm/i18n/pl.po b/addons/crm/i18n/pl.po index fb7c896ee39..48e4bfb4498 100644 --- a/addons/crm/i18n/pl.po +++ b/addons/crm/i18n/pl.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:00+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:22+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/pt.po b/addons/crm/i18n/pt.po index 58e4f457674..c09349c9241 100644 --- a/addons/crm/i18n/pt.po +++ b/addons/crm/i18n/pt.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:00+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:22+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/pt_BR.po b/addons/crm/i18n/pt_BR.po index f2cb848a440..121086e889b 100644 --- a/addons/crm/i18n/pt_BR.po +++ b/addons/crm/i18n/pt_BR.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:02+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:24+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/ro.po b/addons/crm/i18n/ro.po index 31dc33b6e62..876a4dfa174 100644 --- a/addons/crm/i18n/ro.po +++ b/addons/crm/i18n/ro.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:00+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:22+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/ru.po b/addons/crm/i18n/ru.po index ec9f7d06412..78a274afcac 100644 --- a/addons/crm/i18n/ru.po +++ b/addons/crm/i18n/ru.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:00+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:22+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/sk.po b/addons/crm/i18n/sk.po index 38a4e0678ea..ceea5631233 100644 --- a/addons/crm/i18n/sk.po +++ b/addons/crm/i18n/sk.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:01+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:23+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/sl.po b/addons/crm/i18n/sl.po index 7f774a47913..a4bfa64f402 100644 --- a/addons/crm/i18n/sl.po +++ b/addons/crm/i18n/sl.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:01+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:23+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/sq.po b/addons/crm/i18n/sq.po index f6a48d0dab2..ffa46736feb 100644 --- a/addons/crm/i18n/sq.po +++ b/addons/crm/i18n/sq.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 06:58+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:19+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/sr.po b/addons/crm/i18n/sr.po index de5758d8a97..874312258f2 100644 --- a/addons/crm/i18n/sr.po +++ b/addons/crm/i18n/sr.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:00+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:23+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/sr@latin.po b/addons/crm/i18n/sr@latin.po index 3c5190ebeed..94215f41d7a 100644 --- a/addons/crm/i18n/sr@latin.po +++ b/addons/crm/i18n/sr@latin.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:03+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:25+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/sv.po b/addons/crm/i18n/sv.po index f16e9cb1e89..4933cc1986b 100644 --- a/addons/crm/i18n/sv.po +++ b/addons/crm/i18n/sv.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:01+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:23+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/th.po b/addons/crm/i18n/th.po index 3a3e1633a78..5f1f296a02e 100644 --- a/addons/crm/i18n/th.po +++ b/addons/crm/i18n/th.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:01+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:23+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/tlh.po b/addons/crm/i18n/tlh.po index 176d5d7375c..498ae6a3577 100644 --- a/addons/crm/i18n/tlh.po +++ b/addons/crm/i18n/tlh.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:01+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:23+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/tr.po b/addons/crm/i18n/tr.po index 253fb2521b9..cc57c9554db 100644 --- a/addons/crm/i18n/tr.po +++ b/addons/crm/i18n/tr.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:01+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:24+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/uk.po b/addons/crm/i18n/uk.po index 87d03395531..e3dc7797a98 100644 --- a/addons/crm/i18n/uk.po +++ b/addons/crm/i18n/uk.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:02+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:24+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/vi.po b/addons/crm/i18n/vi.po index 1b87df1af4f..a843a956f3e 100644 --- a/addons/crm/i18n/vi.po +++ b/addons/crm/i18n/vi.po @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:02+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:24+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/zh_CN.po b/addons/crm/i18n/zh_CN.po index 1801e272925..0713ba90b89 100644 --- a/addons/crm/i18n/zh_CN.po +++ b/addons/crm/i18n/zh_CN.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:02+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:24+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/i18n/zh_TW.po b/addons/crm/i18n/zh_TW.po index 73894de7962..5888ecd2606 100644 --- a/addons/crm/i18n/zh_TW.po +++ b/addons/crm/i18n/zh_TW.po @@ -13,8 +13,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-04-12 07:02+0000\n" -"X-Generator: Launchpad (build 16976)\n" +"X-Launchpad-Export-Date: 2014-04-22 06:24+0000\n" +"X-Generator: Launchpad (build 16985)\n" #. module: crm #: view:crm.lead.report:0 diff --git a/addons/crm/report/crm_lead_report_view.xml b/addons/crm/report/crm_lead_report_view.xml index c4cffdc012a..083142c550d 100644 --- a/addons/crm/report/crm_lead_report_view.xml +++ b/addons/crm/report/crm_lead_report_view.xml @@ -33,7 +33,6 @@ <graph string="Leads Analysis" type="pivot" stacked="True"> <field name="date_deadline" type="row"/> <field name="user_id" type="col"/> - <field name="stage_id" type="col"/> <field name="planned_revenue" type="measure"/> </graph> </field> diff --git a/addons/crm/res_config.py b/addons/crm/res_config.py index 6af3dc93fce..1cd31cd0dd0 100644 --- a/addons/crm/res_config.py +++ b/addons/crm/res_config.py @@ -69,6 +69,9 @@ class crm_configuration(osv.TransientModel): help="""Allows you to use Sales Teams to manage your leads and opportunities."""), 'alias_prefix': fields.char('Default Alias Name for Leads'), 'alias_domain' : fields.char('Alias Domain'), + 'group_scheduled_calls': fields.boolean("Schedule calls to manage call center", + implied_group='crm.group_scheduled_calls', + help="""This adds the menu 'Scheduled Calls' under 'Sales / Phone Calls'""") } _defaults = { diff --git a/addons/crm/res_config_view.xml b/addons/crm/res_config_view.xml index b964cca5c7f..ce3c8242f99 100644 --- a/addons/crm/res_config_view.xml +++ b/addons/crm/res_config_view.xml @@ -9,9 +9,18 @@ <field name="arch" type="xml"> <data> <div name="config_sale" position="before"> - <separator string="After-Sale Services"/> + <separator string="Sale Services"/> + <group> + <label for="id" string="Pre-Sale Services"/> + <div> + <div> + <field name="group_scheduled_calls" class="oe_inline"/> + <label for="group_scheduled_calls"/> + </div> + </div> + </group> <group> - <label for="id" string="Features"/> + <label for="id" string="After-Sale Services"/> <div> <div> <field name="module_crm_claim" class="oe_inline"/> diff --git a/addons/crm/res_partner.py b/addons/crm/res_partner.py index c2eecb7c4e7..31cf5344f2e 100644 --- a/addons/crm/res_partner.py +++ b/addons/crm/res_partner.py @@ -92,5 +92,17 @@ class res_partner(osv.osv): opportunity_ids[partner_id] = opportunity_id return opportunity_ids + def schedule_meeting(self, cr, uid, ids, context=None): + if context is None: + context = {} + partner_ids = list(ids) + partner_ids.append(self.pool.get('res.users').browse(cr, uid, uid).partner_id.id) + res = self.pool.get('ir.actions.act_window').for_xml_id(cr, uid, 'calendar', 'action_calendar_event', context) + res['context'] = { + 'default_partner_id': ids and ids[0] or False, + 'default_partner_ids': partner_ids, + } + return res + # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm/res_partner_view.xml b/addons/crm/res_partner_view.xml index 7613c2161fc..9b13f77c5d2 100644 --- a/addons/crm/res_partner_view.xml +++ b/addons/crm/res_partner_view.xml @@ -94,13 +94,11 @@ attrs="{'invisible': [('customer', '=', False)]}" name="%(crm.crm_case_category_act_oppor11)d" context="{'search_default_partner_id': active_id}"/> - <button class="oe_inline" type="action" - string="Meetings" - name="%(calendar.action_calendar_event)d" - context="{'search_default_partner_ids': active_id, 'default_partner_ids' : [active_id]}"/> + <button class="oe_inline" string="Schedule a Meeting" type="object" + name="schedule_meeting" context="{'partner_id': active_id}"/> <button class="oe_inline" type="action" string="Calls" name="%(crm.crm_case_categ_phone_incoming0)d" - context="{'search_default_partner_id': active_id, 'default_duration': 1.0}" /> + context="{'search_default_partner_id': active_id, 'default_duration': 1.0}"/> </xpath> </data> </field> diff --git a/addons/crm/security/crm_security.xml b/addons/crm/security/crm_security.xml index dfc3a56858e..f58be62393f 100644 --- a/addons/crm/security/crm_security.xml +++ b/addons/crm/security/crm_security.xml @@ -42,6 +42,11 @@ <field name="category_id" ref="base.module_category_hidden"/> </record> + <record id="group_scheduled_calls" model="res.groups"> + <field name="name">Show Scheduled Calls Menu</field> + <field name="category_id" ref="base.module_category_hidden"/> + </record> + <record model="res.users" id="base.user_root"> <field eval="[(4,ref('base.group_partner_manager'))]" name="groups_id"/> </record> diff --git a/addons/crm/static/src/js/crm_case_section.js b/addons/crm/static/src/js/crm_case_section.js index 02f42288880..a7bf7c280da 100644 --- a/addons/crm/static/src/js/crm_case_section.js +++ b/addons/crm/static/src/js/crm_case_section.js @@ -19,9 +19,7 @@ openerp.crm = function(openerp) { dataset.read_slice(['id', 'name']).done(function(result) { _.each(result, function(v, k) { // Set the proper value in the DOM - self.$el.find('img[data-member_id=' + v.id + ']').attr('title', v.name).tipsy({ - offset: 10 - }); + self.$el.find('img[data-member_id=' + v.id + ']').attr('title', v.name).tooltip(); }); }); }, diff --git a/addons/crm/test/lead2opportunity2win.yml b/addons/crm/test/lead2opportunity2win.yml index a0952f4aa1f..0650838e4cc 100644 --- a/addons/crm/test/lead2opportunity2win.yml +++ b/addons/crm/test/lead2opportunity2win.yml @@ -31,23 +31,17 @@ - Now I begin communication and schedule a phone call with the customer. - - !python {model: crm.opportunity2phonecall}: | + !python {model: crm.phonecall2phonecall}: | import time - context.update({'active_model': 'crm.lead', 'active_ids': [ref('crm_case_3')]}) + context.update({'active_model': 'crm.lead', 'active_ids': [ref('crm_case_3')],'active_id': ref('crm_case_3')}) call_id = self.create(cr, uid, {'date': time.strftime('%Y-%m-%d %H:%M:%S'), 'name': "Bonjour M. Jean, Comment allez-vous? J'ai bien reçu votre demande, pourrions-nous en parler quelques minutes?"}, context=context) self.action_schedule(cr, uid, [call_id], context=context) - - I check that phonecall is scheduled for that opportunity. -- - !python {model: crm.phonecall}: | - ids = self.search(cr, uid, [('opportunity_id', '=', ref('crm_case_3'))]) - assert len(ids), 'Phonecall is not scheduled' -- Now I schedule meeting with customer. - !python {model: crm.lead}: | - self.action_makeMeeting(cr, uid, [ref('crm_case_3')]) + self.action_schedule_meeting(cr, uid, [ref('crm_case_3')]) - After communicated with customer, I put some notes with contract details. - diff --git a/addons/crm/wizard/__init__.py b/addons/crm/wizard/__init__.py index 7bc2c97e5dd..c72e1f34fc8 100644 --- a/addons/crm/wizard/__init__.py +++ b/addons/crm/wizard/__init__.py @@ -21,7 +21,6 @@ import crm_partner_binding import crm_phonecall_to_phonecall -import crm_opportunity_to_phonecall import crm_lead_to_opportunity import crm_merge_opportunities diff --git a/addons/crm/wizard/crm_opportunity_to_phonecall.py b/addons/crm/wizard/crm_opportunity_to_phonecall.py deleted file mode 100644 index 5183773b618..00000000000 --- a/addons/crm/wizard/crm_opportunity_to_phonecall.py +++ /dev/null @@ -1,79 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -############################################################################## - -from openerp.osv import fields, osv -from openerp.tools.translate import _ - -import time - -class crm_opportunity2phonecall(osv.osv_memory): - """Converts Opportunity to Phonecall""" - _inherit = 'crm.phonecall2phonecall' - _name = 'crm.opportunity2phonecall' - _description = 'Opportunity to Phonecall' - - def default_get(self, cr, uid, fields, context=None): - opp_obj = self.pool.get('crm.lead') - categ_id = False - data_obj = self.pool.get('ir.model.data') - try: - res_id = data_obj._get_id(cr, uid, 'crm', 'categ_phone2') - categ_id = data_obj.browse(cr, uid, res_id, context=context).res_id - except ValueError: - pass - - record_ids = context and context.get('active_ids', []) or [] - res = {} - res.update({'action': 'log', 'date': time.strftime('%Y-%m-%d %H:%M:%S')}) - for opp in opp_obj.browse(cr, uid, record_ids, context=context): - if 'name' in fields: - res.update({'name': opp.name}) - if 'user_id' in fields: - res.update({'user_id': opp.user_id and opp.user_id.id or False}) - if 'section_id' in fields: - res.update({'section_id': opp.section_id and opp.section_id.id or False}) - if 'categ_id' in fields: - res.update({'categ_id': categ_id}) - if 'partner_id' in fields: - res.update({'partner_id': opp.partner_id and opp.partner_id.id or False}) - if 'contact_name' in fields: - res.update({'contact_name': opp.partner_id and opp.partner_id.name or False}) - if 'phone' in fields: - res.update({'phone': opp.phone or (opp.partner_id and opp.partner_id.phone or False)}) - return res - - def action_schedule(self, cr, uid, ids, context=None): - value = {} - if context is None: - context = {} - phonecall = self.pool.get('crm.phonecall') - opportunity_ids = context and context.get('active_ids') or [] - opportunity = self.pool.get('crm.lead') - data = self.browse(cr, uid, ids, context=context)[0] - call_ids = opportunity.schedule_phonecall(cr, uid, opportunity_ids, data.date, data.name, \ - data.note, data.phone, data.contact_name, data.user_id and data.user_id.id or False, \ - data.section_id and data.section_id.id or False, \ - data.categ_id and data.categ_id.id or False, \ - action=data.action, context=context) - return {'type': 'ir.actions.act_window_close'} - - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm/wizard/crm_opportunity_to_phonecall_view.xml b/addons/crm/wizard/crm_opportunity_to_phonecall_view.xml deleted file mode 100644 index d04d1bd9ccd..00000000000 --- a/addons/crm/wizard/crm_opportunity_to_phonecall_view.xml +++ /dev/null @@ -1,52 +0,0 @@ -<?xml version="1.0"?> -<openerp> - <data> - - <!-- Opportunity to Phonecall view --> - - <record model="ir.ui.view" id="opportunity2phonecall_view"> - <field name="name">crm.opportunity2phonecall.form</field> - <field name="model">crm.opportunity2phonecall</field> - <field name="arch" type="xml"> - <form string="Schedule/Log a Call" version="7.0"> - <group> - <group> - <field name="action"/> - <field name="name"/> - <field name="categ_id" string="Type" - widget="selection" - domain="[('object_id.model', '=', 'crm.phonecall')]" - groups="base.group_no_one"/> - <field name="date" string="Planned Date" attrs="{'invisible': [('action','=','log')]}"/> - </group> - <group> - <field name="partner_id" readonly="True"/> - <field name="phone"/> - <field name="user_id" attrs="{'invisible': [('action','=','log')]}" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'base.group_sale_salesman_all_leads']}"/> - <field name="section_id" widget="selection" attrs="{'invisible': [('action','=','log')]}" groups="base.group_multi_salesteams"/> - </group> - </group> - <field name="note" placeholder="Call Description" /> - <footer> - <button name="action_schedule" type="object" string="Log call" attrs="{'invisible' : [('action', '!=', 'log')]}" class="oe_highlight"/> - <button name="action_schedule" type="object" string="Schedule Call" attrs="{'invisible' : [('action', '!=', 'schedule')]}" class="oe_highlight" /> - or - <button name="action_cancel" string="Cancel" class="oe_link" special="cancel" /> - </footer> - </form> - </field> - </record> - - <!-- Opportunity to Phonecall action --> - - <record model="ir.actions.act_window" id="opportunity2phonecall_act"> - <field name="name">Schedule/Log Call</field> - <field name="res_model">crm.opportunity2phonecall</field> - <field name="view_type">form</field> - <field name="view_mode">form</field> - <field name="view_id" ref="opportunity2phonecall_view"/> - <field name="target">new</field> - </record> - - </data> -</openerp> diff --git a/addons/crm/wizard/crm_phonecall_to_opportunity.py b/addons/crm/wizard/crm_phonecall_to_opportunity.py deleted file mode 100644 index e69de29bb2d..00000000000 --- a/addons/crm/wizard/crm_phonecall_to_opportunity.py +++ /dev/null |
