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
[MIG] Migrated base_phone to v10.0 #107
Conversation
Great work. We still have to fix one think: in the URL "tel:+33141984242", the spaces/non-breaking-spaces are still there ; they should be removed. Once it is fixed, it can be merged: 👍 |
a5f4a3b
to
ce1ca23
Compare
Number format in the link fixed. I also added a new commit, to define Phone and Fax as real field types. |
@sylvain-garancher It's great that you found a solution to avoid inheriting the views to add widget="phone" or widget="fax"... something I wanted to do for a long time (or at least since v9). I tried your latest code, but when I try to access the form view of a partner, I get a JS error |
ce1ca23
to
6f1dc6b
Compare
Oops, sorry, I forgot to test with empty values :) I added another change : The phone field now inherits from fax, as it has the same behaviour, plus the clcik2dial feature. This avoids duplicated code between the two field types and widgets. |
Works very well now ! 👍 |
- if [ -d /home/travis/${ODOO_REPO##*/}-${VERSION}/addons ]; then ln -s ${HOME}/web_action_request/web_action_request /home/travis/${ODOO_REPO##*/}-${VERSION}/addons; fi | ||
- hg clone http://bitbucket.org/anybox/bus_enhanced -b ${VERSION} ${HOME}/bus_enhanced | ||
- if [ -d /home/travis/${ODOO_REPO##*/}-${VERSION}/addons ]; then ln -s ${HOME}/bus_enhanced/bus_enhanced /home/travis/${ODOO_REPO##*/}-${VERSION}/addons; fi | ||
# - hg clone http://bitbucket.org/anybox/web_action_request -b ${VERSION} ${HOME}/web_action_request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should directly remove these lines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in runbot. Little thing for merging
6f1dc6b
to
fd43c27
Compare
Commented lines removed in TavisCI configuration. |
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
[MIG] Migrated base_phone to v10.0 * Define Phone and Fax as real field types, to avoid the need of defining the widget on each view * [IMP] Add missing ImportError checks for the phonenumbers module
Some notes about the migration :