Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0] [MIG] base_phone: Migration to 17.0 #316

Merged
merged 116 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
48a04bb
Update translation files
OCA-git-bot Jan 31, 2020
1a6c871
Extract Asterisk-independant code (the widget="phone" + phone number …
Mar 13, 2014
8be180f
Improve string.
Mar 24, 2014
056ade8
Add country on main company as demo data (otherwize it blocks write o…
Jul 5, 2014
5444854
Add monkey-patching of format function to add phone=True and phone_fo…
Jul 13, 2014
5fa5cb1
Very large changes in the structure of the project :
Jul 27, 2014
bbc92c3
Add semi-column at the end of line in JS code !
Aug 14, 2014
3a7c951
The "Dial" button is now inside the phone widget : this is great beca…
Aug 20, 2014
842e280
Update POT file and partial update of FR translation
Aug 21, 2014
4707fbe
Port to OpenERP v8.0
Aug 21, 2014
d80855b
Update PhoneFormat JS lib
Aug 25, 2014
acc5eaf
Feature "Open Calling Partner" replaced by "Open Caller", with a comp…
Aug 25, 2014
8d4e166
Activate widget on form view of company.
Sep 2, 2014
f8d7190
Use =like instead of like in phone number search, because I add the '…
Nov 4, 2014
d156391
Fix code style
Nov 5, 2014
9f60697
Add widget="phone" in tree view, to have an easy-to-read phone number…
Dec 16, 2014
02f6c5d
Start the wizard "Reformat Phone Numbers" after the installation of t…
Dec 26, 2014
3b9afdf
FIX: clear field when number not set rather than leaving previous value
Jan 2, 2015
54748b8
Fix bug #17: don't raise by default on write/create
Jan 23, 2015
af37ddb
One possible implementation of raise when partner create/write is man…
Jan 24, 2015
75e1788
Adapt the reformat_phonenumber_wizard to the new behavior on raise
Jan 24, 2015
568d6ab
PEP8 fix
Feb 5, 2015
388cb2f
base_phone: Add YAML test
Feb 12, 2015
8fc4f62
Update screenshots
Feb 21, 2015
0c673a1
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
970f5c2
Add support for "Create CRM phonecall" on leads (and not only partners)
Mar 12, 2015
9358031
Fully remove raise from write/create, to avoid a crash on module inst…
Mar 19, 2015
905301e
If you enter a phone number in national format, it is now interpreted…
Mar 20, 2015
67a53f2
Continue to adapt the code to the recent changes
Mar 20, 2015
06af85f
More Yaml tests
Mar 20, 2015
4640013
new: pkg: adds requirements.txt to explicit dependencies and ease scr…
vaab Mar 25, 2015
72d59e9
Slovenian translations added
sysadminmatmoz Apr 5, 2015
a4fa340
edit arguments accordingly to func definition
Apr 9, 2015
d9e9f6f
Fix bug #40
Apr 14, 2015
235ef8e
PEP8 fix
Apr 14, 2015
76e36d7
XML Code clean-up
Apr 14, 2015
8691679
FIX a crash when exception has no len
May 13, 2015
aad5fba
Please welcome the new module ovh_telephony_connector !
May 20, 2015
a867d7b
Fix bug #20 Multiple click2dial when previous click2dial failed
Jun 25, 2015
47245f4
[FIX] set countrycode in upper case to avoid error with the lib phone…
bguillot Sep 29, 2015
7a518da
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
455bc1a
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
2fca74b
Less verbose logs
guewen Oct 28, 2015
85da644
Do not interpolate directly in logger
guewen Oct 29, 2015
f88eb8b
Fix Nonetype error
guewen Nov 23, 2015
e21b869
FIX avoid phone numbers on 2 lines in tree view
alexis-via Jan 29, 2016
f127083
[FIX] flake8 errors
damdam-s Feb 8, 2016
46975e4
[FIX] move country=FR from demo data to test file
damdam-s Feb 8, 2016
53e5499
[IMP] Migrate base_phone in 9.0
alexis-via Mar 8, 2016
1832ece
[IMP] Add README.rst file in base_phone module
Mar 8, 2016
121c9cf
[IMP] To avoid conflicts, we check that widgets phone and fax do not …
Mar 8, 2016
fab107d
[FIX] Fixing issues from travis in base_phone module
Mar 24, 2016
95f94e6
[FIX] Fix problem in point_of_sale with customer editing
Apr 4, 2016
c2d6882
Add comment to explain the hack for the POS
alexis-via May 19, 2016
f7a385a
Port crm_phone to v9
alexis-via May 19, 2016
9d3b3ab
Restore the object crm.phonecall that was dropped in v9 community
alexis-via May 23, 2016
fddb442
Started to implement solution d) as discussed in https://github.com/O…
alexis-via Jun 24, 2016
d57f635
Port YAML tests to new fields.Phone archi
alexis-via Jun 24, 2016
83b10f6
Convert YAML tests to unit-tests, with several improvements
alexis-via Jun 25, 2016
0a079bc
Port the wizard reformat_all_phonenumbers to the new fields.Phone archi
alexis-via Jun 25, 2016
d7251f3
Phone numbers are now clickable in tree view
alexis-via Jun 26, 2016
d3629fc
JS code cleanup: no spaces in href links
alexis-via Jun 27, 2016
a1bc8d5
Restore click2dial feature
alexis-via Jun 27, 2016
d6169cc
FIX write when input has no_break_space
alexis-via Jun 27, 2016
a470d93
Avoid a crash if there is a create/write with a wrong field name
alexis-via Jul 5, 2016
d0d8d2b
Fix crash in number not found wizard
alexis-via Jul 12, 2016
f9a1de7
Replace narrow_no_break_space by no_break_space to make it work on ma…
alexis-via Jul 18, 2016
9c7edd1
Fix unittest and another attempt at fixing travis
alexis-via Jul 20, 2016
91d18ae
Fix bug #93... but it seems do_notify() is not working in v9 in this …
alexis-via Jul 20, 2016
f04cd10
Finalise move from narrow-no-break-space to no-break-space
alexis-via Jul 21, 2016
5582109
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
e38a89d
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
137fdb4
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
e3bdec8
[MIG] Migrated base_phone to v10.0 (#107)
Oct 17, 2016
713e091
[FIX] We must now inherit from the base model, instead of monkey-patc…
Nov 8, 2016
965c65a
Port crm_phone, hr_phone, hr_recruitment_phone, event_phone to v10
alexis-via Oct 28, 2016
93a840c
[FIX] base_phone: Fixed click2dial feature
Nov 4, 2016
7b43762
Make click2dial work in real life
alexis-via Nov 8, 2016
4ee00ca
Restore fix for partner creation from POS bug #113
alexis-via Nov 9, 2016
378f36e
Fix bug #117 CSV import is now working, with the kind help of Sylvain…
alexis-via Dec 6, 2016
05734dc
Use config page instead of company form view
alexis-via Jun 22, 2017
f7acb12
[Odoo 10] Fix for #20
sadasant Jan 17, 2018
d69fe85
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
0c4b506
Port to v12 base_phone, asterisk_click2dial, crm_phone, hr_phone, eve…
alexis-via Nov 15, 2018
a986143
[ADD] icon.png
OCA-git-bot Apr 3, 2019
04cda7f
Translated using Weblate (Spanish)
mvrodriguez Feb 7, 2019
e954561
Forward port dial button refactor from v11 to v12
alexis-via May 28, 2019
4490afc
Add reformatting of phone numbers on res.partner in base_phone
alexis-via May 29, 2019
52f604d
base_phone: Fix layout of General Settings page
alexis-via Jul 10, 2019
fcf3a71
Translated using Weblate (Portuguese (Brazil))
Sep 2, 2019
7cc98f1
Translated using Weblate (Portuguese (Brazil))
Sep 2, 2019
97c994a
[IMP] base_phone : (refactoring) remove controller
Jun 9, 2020
a002c8d
[IMP] base_phone: black, isort, prettier
mimusica Jul 31, 2020
d7b4d5b
[MIG] base_phone: Migration to 13.0
mimusica Aug 1, 2020
42e13fc
[UPD] Update base_phone.pot
oca-travis Dec 2, 2020
17bc1ea
[IMP] base_phone: black, isort, prettier
May 4, 2021
e9863ae
[MIG] base_phone: Migration to 14.0
May 4, 2021
f3acbd5
Add missing access on wizards
florian-dacosta May 10, 2021
0a4e5a9
bsae_phone: FIX method get_record_from_phone_number()
alexis-via May 12, 2021
320b2b3
base_phone: add unit tests
alexis-via May 15, 2021
d779bfb
base_phone: avoid a warning in the number not found wizard
alexis-via May 18, 2021
cba4aa7
[UPD] Update base_phone.pot
oca-travis May 18, 2021
578190e
[UPD] README.rst
OCA-git-bot May 18, 2021
eb3850f
[FIX] We have to stay on the same page after clicking on the link
cvinh Sep 21, 2021
c921104
Added translation using Weblate (Spanish (Argentina))
nimarosa Aug 5, 2022
8d6ca4e
Translated using Weblate (Spanish (Argentina))
nimarosa Aug 5, 2022
8b97f6f
Translated using Weblate (French)
klodr Sep 17, 2022
978ae13
Translated using Weblate (Italian)
mymage Mar 30, 2023
911e0fa
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 31, 2023
418a76f
[UPD] README.rst
OCA-git-bot Sep 3, 2023
e76d171
Update translation files
weblate Oct 10, 2023
a8f4534
Translated using Weblate (Spanish)
Ivorra78 Dec 20, 2023
9de753a
[IMP] base_phone: black, isort, prettier
aiendry-aktivsoftware May 1, 2023
2a3ad82
[MIG] base_phone: Migration to 15.0
aiendry-aktivsoftware May 1, 2023
b97c1e9
[IMP] base_phone: pre-commit auto fixes
luisDIXMIT Apr 3, 2024
0a5935d
[MIG] base_phone: Migration to 17.0
luisDIXMIT Apr 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 102 additions & 0 deletions base_phone/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
==========
Base Phone
==========

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:9f25b9cb743d588b4cbe67f7804ef3aa733902d373f0108b0a1a97f5ac72d0a7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fconnector--telephony-lightgray.png?logo=github
:target: https://github.com/OCA/connector-telephony/tree/17.0/base_phone
:alt: OCA/connector-telephony
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/connector-telephony-17-0/connector-telephony-17-0-base_phone
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/connector-telephony&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module provides common methods and wizards which can be useful to
develop a connector between Odoo and a telephony system. It depends on
the official module *phone_validation* which handle the reformatting of
phone numbers using the
`phonenumbers <https://github.com/daviddrysdale/python-phonenumbers>`__
Python library, which is a port of the library used in Android
smartphones. For example, if your user is linked to a French company and
you update the form view of a partner with a badly written French phone
number such as '01-55-42-12-42', Odoo will automatically update the
phone number to `E.164 <https://en.wikipedia.org/wiki/E.164>`__ format
'+33155421242'. This module extends this reformatting to create() and
write() methods.

This module is used by the Odoo-Asterisk connector of the OCA.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/connector-telephony/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/connector-telephony/issues/new?body=module:%20base_phone%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Akretion

Contributors
------------

- Alexis de Lattre <[email protected]>
- Sébastien Beau <[email protected]>
- `Dixmit <https://www.dixmit.com>`__:

- Luis David Rodríguez
- Enric Tobella

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
:target: https://github.com/alexis-via
:alt: alexis-via

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via|

This module is part of the `OCA/connector-telephony <https://github.com/OCA/connector-telephony/tree/17.0/base_phone>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions base_phone/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizard
31 changes: 31 additions & 0 deletions base_phone/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2014-2021 Akretion France (http://www.akretion.com/)
# @author: Alexis de Lattre <[email protected]>
# @migration from 12.0 to 13.0: Christophe Langenberg <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Base Phone",
"version": "17.0.1.0.0",
"category": "Phone",
"license": "AGPL-3",
"summary": "Validate phone numbers",
"author": "Akretion,Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"website": "https://github.com/OCA/connector-telephony",
"depends": ["phone_validation", "base_setup"],
"external_dependencies": {"python": ["phonenumbers"]},
"data": [
"security/phone_security.xml",
"security/ir.model.access.csv",
"wizard/res_config_settings.xml",
"views/res_users_view.xml",
"wizard/reformat_all_phonenumbers_view.xml",
"wizard/number_not_found_view.xml",
],
"assets": {
"web.assets_backend": [
"base_phone/static/src/components/**/*",
],
},
"installable": True,
}
Loading
Loading