-
-
Notifications
You must be signed in to change notification settings - Fork 694
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
[12.0][MIG] website_portal_contact #882
[12.0][MIG] website_portal_contact #882
Conversation
Hey @SirTakobi, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
0ee9726
to
305dacb
Compare
…CA#239) [ADD] website_portal_contact Manage your contacts from your portal This module extends the functionality of the website portal to allow your users to manage their contacts. To use this module, you need to: 1. Log in as a portal user. 2. Go to your portal home. 3. Go to your contacts manager. 4. Read, create, edit or delete (disable) any contacts you want! Known issues / Roadmap: - This uses the backported version of the website portal from v10. When migrating to v10, we should adapt to any changes there. - Remove workarounds for odoo/odoo#12961 in JS tour when fixed.
- Replace website_portal_v10 by portal - Fix menu, breadcumb and contact_count - Adapt test with tour - Translate fr_CA.po, fr.po and pot - Fix parent_id with the same partner_id
The previous access rules did only allow edits on partners with type == contact. That caused an access error when one edited a contact with another type e.g. "invoice address". This is prevented now by allowing to edit any contact type.
305dacb
to
a581160
Compare
@yajo @mathben can I have the email linked to your accounts so that I can set it inside your commits? |
@SirTakobi I update my github settings with the email [email protected] |
|
I think that's a bug in the bot and we can just ignore it. See OCA/oca-github-bot#209. |
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.
8633598
to
87aa49b
Compare
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.
thanks
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 tried to install it on my local machine but I get this error:
Exception: Module loading website_portal_contact failed: file website_portal_contact/security/ir.model.access.csv could not be processed:
No matching record found for external id 'product.model_product_pricelist' in field 'Object'
Missing required value for the field 'Object' (model_id)
I guess a dependency is missing
87aa49b
to
fca3640
Compare
Thanks for having a look, you are right it was missing the dependency from EDIT: I know the new dependency might not fit in this module that ideally should only depend on |
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.
LGTM
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.
Thanks!
This PR has the |
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.
Functional test ok!
/ocabot merge nobump |
Sorry @tarteo you are not allowed to merge. To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons. If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the |
@tarteo thanks for trying 😄 Maybe someone of @OCA/website-maintainers can have a look? |
@OCA/website-maintainers can someone have a look? Thanks! |
could you squash all your migration commits? |
[FIX] Prevent error 500 due to missing field 'name' [FIX] Allow to create partners: reading pricelists is needed for computing the pricelist for the created partner. The added rule is similar to product.access_product_pricelist_user. [I18N] Italian translations [REF] New README format [REF] Align UX to other portal pages
603c4e4
to
6eba968
Compare
I have squashed most of the commits; I have kept a few commits separated because they are dedicated to specific improvements, could you please check if it looks better now? |
thanks |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 84e8cfa. Thanks a lot for contributing to OCA. ❤️ |
Superseding #840
Added history with format patch, plus some improvement (see commits) that ideally should go in the migration commit.
I'm keeping the new edits in dedicated commits in order to preserve authorship in existing commits.