-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
14.0 mig crm phonecall #361
Conversation
* crm_phonecall module (#131) This module is the part extracted from Odoo v8 crm module from Odoo that allows to record phone calls. As it has been stripped off from Odoo v9, we add again the feature via this module. Migration scripts are also included to upgrade a v8 database via OpenUpgrade and don't lose your history. * [MIG] crm_phone_call: Migrated to 10.0 - FIX: Correct some lint errors * [MIG] crm_phone_call: Migrated to 10.0
…reated from phonecall2phonecall wizard.
Currently translated at 100.0% (150 of 150 strings) Translation: crm-12.0/crm-12.0-crm_phonecall Translate-URL: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_phonecall/es/
Currently translated at 86.0% (129 of 150 strings) Translation: crm-12.0/crm-12.0-crm_phonecall Translate-URL: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_phonecall/de/
…ve_id is not correct
Currently translated at 92.7% (139 of 150 strings) Translation: crm-12.0/crm-12.0-crm_phonecall Translate-URL: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_phonecall/de/
Currently translated at 98.0% (147 of 150 strings) Translation: crm-12.0/crm-12.0-crm_phonecall Translate-URL: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_phonecall/de/
Currently translated at 27.3% (41 of 150 strings) Translation: crm-12.0/crm-12.0-crm_phonecall Translate-URL: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_phonecall/hr/
Currently translated at 41.3% (62 of 150 strings) Translation: crm-12.0/crm-12.0-crm_phonecall Translate-URL: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_phonecall/hr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: crm-13.0/crm-13.0-crm_phonecall Translate-URL: https://translation.odoo-community.org/projects/crm-13-0/crm-13-0-crm_phonecall/
…bally from crm settings.
…change name to all groups for consistancy.
Currently translated at 100.0% (161 of 161 strings) Translation: crm-13.0/crm-13.0-crm_phonecall Translate-URL: https://translation.odoo-community.org/projects/crm-13-0/crm-13-0-crm_phonecall/es_AR/
The Phonecall form's statusbar is intended to be clickable, but Odoo 13 is apparently no longer compatible with clickable="True". Instead, either clickable="1" or options="{'clickable': 1}" must be used. Odoo core code uses the latter, so the Claim form has been updated to match core convention.
Currently translated at 100.0% (161 of 161 strings) Translation: crm-13.0/crm-13.0-crm_phonecall Translate-URL: https://translation.odoo-community.org/projects/crm-13-0/crm-13-0-crm_phonecall/es_AR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: crm-13.0/crm-13.0-crm_phonecall Translate-URL: https://translation.odoo-community.org/projects/crm-13-0/crm-13-0-crm_phonecall/
Currently translated at 100.0% (161 of 161 strings) Translation: crm-13.0/crm-13.0-crm_phonecall Translate-URL: https://translation.odoo-community.org/projects/crm-13-0/crm-13-0-crm_phonecall/es_AR/
@@ -48,6 +48,7 @@ repos: | |||
- "@prettier/[email protected]" | |||
args: | |||
- --plugin=@prettier/plugin-xml | |||
files: \.xml$ |
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.
Why changing this?
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.
was giving me error on prettier and xml plugin in pre-commit, when i added it, it worked 👍
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.
Hi @redapureskill, thank you for your contribution. Could you adapt your code ?
crm_phonecall/__manifest__.py
Outdated
@@ -1,11 +1,10 @@ | |||
# Copyright 2017 Tecnativa - Vicent Cubells |
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.
You cannot remove authorship
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.
sure my bad
crm_phonecall/__manifest__.py
Outdated
"category": "Customer Relationship Management", | ||
"author": "Odoo S.A., Tecnativa, Odoo Community Association (OCA)", | ||
"author": "Odoo Community Association (OCA)", |
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.
Same here
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.
git was showing problem with "no Odoo Community Association (OCA)" author found in manifest.
i'll fix it
@@ -0,0 +1 @@ | |||
../../../../crm_phonecall |
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.
Mmmh, I think your link is not good (see Travis error). Did you use setuptools-odoo-make-default ?
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.
i was getting this erreur when i do it :
OSError: [WinError 1314] Le client ne dispose pas d'un privilège nécessaire: '..\..\..\..\crm_phonecall' -> '.\setup\crm_phonecall\odoo\addons\crm_phonecall'
i tried with administrator same thing.
Are you developing in Windows? If so, that's the problem I'm afraid. |
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.
Windows and docker
@@ -48,6 +48,7 @@ repos: | |||
- "@prettier/[email protected]" | |||
args: | |||
- --plugin=@prettier/plugin-xml | |||
files: \.xml$ |
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.
was giving me error on prettier and xml plugin in pre-commit, when i added it, it worked 👍
I think the flow is not well supported by Windows, as there's no symbolic link option there. |
@redapureskill The prettier problem should almost be changed in a separate commit (and best in another PR). As prettier for xml is quite new in OCA, I suggest you to point out what's going wrong (with error message) and take a look there OCA/oca-addons-repo-template#34 if it is not the problem you have. |
Generate default setup.py for an addons directory........................Failed
Traceback (most recent call last): |
this is what's stopping me rn :'( |
It seems you are forced to develop in Linux. |
i wonder if there's a docker image with git+python ? |
Well, I think a base Ubuntu Docker image should be enough for having the proper stack, but I recommend you that if you are going to be serious in this Odoo world, to fully switch to Linux in your development environment. |
i am, and i'll be switching to linux , |
on linux, i'm getting errors on shebangs in pre-commit 👍
crm_phonecall/report/crm_phonecall_report_view.xml: marked executable but has no (or invalid) shebang! and pylint with mandatory checks.............................................Failed
************* Module crm_phonecall.report.init |
Are you sharing the files through NTFS or similar (or copied from them)? The +x attribute is not allowed in Windows like filesystems, and then Linux put to all of them this flag by default. You should clone the repo directly on Linux or change these attributes. |
i tried changing the attributes using chmod -x but still same errors. |
As said, it seems you are under a Window filesystem. |
Should be ok in #364 |
Migrating crm_phonecall to from V13 to V14.