Browse Source
[MIG] base_phone_popup to v10
[MIG] base_phone_popup to v10
We now use the great OCA module web_notify (OCA/web)pull/171/head
Alexis de Lattre
6 years ago
5 changed files with 28 additions and 88 deletions
-
2base_phone_popup/__init__.py
-
36base_phone_popup/__manifest__.py
-
3base_phone_popup/models/__init__.py
-
36base_phone_popup/models/phone_common.py
-
39base_phone_popup/res_users_view.xml
@ -1,3 +1,3 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
from . import popup |
|||
from . import models |
@ -1,43 +1,25 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# © 2014-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>) |
|||
# Copyright 2014-2018 Akretion France |
|||
# @author: Alexis de Lattre <alexis.delattre@akretion.com> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
|
|||
|
|||
{ |
|||
'name': 'Base Phone Pop-up', |
|||
'version': '9.0.1.0.0', |
|||
'version': '10.0.1.0.0', |
|||
'category': 'Phone', |
|||
'license': 'AGPL-3', |
|||
'summary': 'Pop-up the related form view to the user on incoming calls', |
|||
'summary': 'Show a pop-up on incoming calls', |
|||
'description': """ |
|||
Base Phone Pop-up |
|||
================= |
|||
|
|||
When the user receives a phone call, OpenERP can automatically open the |
|||
corresponding partner/lead/employee/... in a pop-up without any action from the |
|||
user. |
|||
|
|||
The module *web_action_request* can be downloaded with Mercurial: |
|||
|
|||
hg clone http://bitbucket.org/anybox/web_action_request |
|||
|
|||
It depends on 2 other modules, *web_longpolling* and *web_socketio*, that can |
|||
be downloaded with this command: |
|||
|
|||
hg clone http://bitbucket.org/anybox/web_socketio |
|||
|
|||
You will find some hints in this documentation : |
|||
https://bitbucket.org/anybox/web_action_request |
|||
|
|||
Warning : proxying WebSockets is only supported since Nginx 1.3.13 ; the |
|||
feature provided by this module won't work with older versions of Nginx. |
|||
|
|||
TODO : document this new feature on the Akretion Web site : |
|||
http://www.akretion.com/products-and-services/openerp-asterisk-voip-connector |
|||
When the user receives a phone call, Odoo will display a notification |
|||
at the top-right of the screen that contains a link to the corresponding |
|||
partner/lead/employee/... and a link to the *Number not found* wizard. |
|||
""", |
|||
'author': "Akretion,Odoo Community Association (OCA)", |
|||
'website': 'http://www.akretion.com/', |
|||
'depends': ['base_phone', 'web_action_request'], |
|||
'data': ['res_users_view.xml'], |
|||
'installable': False, |
|||
'depends': ['base_phone', 'web_notify'], |
|||
'installable': True, |
|||
} |
@ -0,0 +1,3 @@ |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
from . import phone_common |
@ -1,39 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- |
|||
© 2014-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>) |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
--> |
|||
|
|||
<odoo> |
|||
<data> |
|||
|
|||
<record id="view_users_form" model="ir.ui.view"> |
|||
<field name="name">base_phone_popup.res.users.form</field> |
|||
<field name="model">res.users</field> |
|||
<field name="inherit_id" ref="base_phone.view_users_form"/> |
|||
<field name="arch" type="xml"> |
|||
<page name="phone" position="attributes"> |
|||
<attribute name="invisible">0</attribute> |
|||
</page> |
|||
<group name="phone-preferences" position="inside"> |
|||
<field name="context_incall_popup"/> |
|||
</group> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="view_users_form_simple_modif" model="ir.ui.view"> |
|||
<field name="name">base_phone_popup.users.preferences.view</field> |
|||
<field name="model">res.users</field> |
|||
<field name="inherit_id" ref="base_phone.view_users_form_simple_modif" /> |
|||
<field name="arch" type="xml"> |
|||
<group name="phone" position="inside"> |
|||
<field name="context_incall_popup" readonly="0"/> |
|||
</group> |
|||
<group name="phone" position="attributes"> |
|||
<attribute name="invisible">0</attribute> |
|||
</group> |
|||
</field> |
|||
</record> |
|||
|
|||
</data> |
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue