Commit Graph

180 Commits (49cb0e39f9e61068e8620d30a22e90c678dc6c4d)

Author SHA1 Message Date
david 49cb0e39f9 [FIX] mass_mailing_partner: prevent singleton error 2024-03-27 16:18:43 +00:00
Tonow-c2c c3e75f7f24 [FIX][12.0][mass_mailing_partner] _check_email_mass_mailing_contacts loop not on self but partner 2024-03-27 16:18:43 +00:00
ernesto 77ed6ac218 mass_mailing_partner: Improve wizard behavior
For each partner, if already has a contact it's added to the selected
list, otherwise a new one is created
2024-03-27 16:18:43 +00:00
Sergio Teruel 1303fbe895 [12.0][MIG] mass_mailing_partner: Migration to v12.0 2024-03-27 16:18:43 +00:00
ernesto 1754ee19f2 [MIG] mass_mailing_partner: Migration to 11.0 2024-03-27 16:18:43 +00:00
David Vidal d13815b808 [FIX] mass_mailing_partner: compute fields performance (#271)
- In DB which use large amounts of records and intesive use of
mass_mailings, not optimized compute records lead to a drastical
decrease of performance
2024-03-27 16:18:43 +00:00
Pedro M. Baeza d8281a278e [FIX+IMP] mass_mailing_list_dynamic: tests, icons, filters... (#211)
* [FIX+IMP] mass_mailing_list_dynamic: tests, icons, filters...

* Brand new icon
* Added feature of loading an existing filter as criteria
* Tests as SavepointCase for optimizing times
* Tests in post-install for avoiding errors on res.partner not null constraints
  when several modules added them.
* Updated documentation.
* Fix mock in test for not commiting test data.

* [FIX] mass_mailing_list_dynamic: Wasn't able to create contacts in fully synced lists

Syncing context was being set in the wrong object. Added to test too.

* [FIX] mass_mailing_list_dynamic: Allow to write back vals from res.partner

Module mass_mailing_partner writes back certain values from partner to
mass_mailing_contact. Module should allow that write operation.
2024-03-27 16:18:43 +00:00
Jairo Llopis 5e74507d89 [FIX] mass_mailing_partner: Allow unprivileged users to edit partners
Without this patch, users without access to reading and editing mass mailing contact records are now unable to change a partner's name or email. They'd recieve an exception such as:

    AccessError: Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:
    - Mass Mailing/User

    (Document model: mail.mass_mailing.contact)

Restrictive ACLs shouldn't restrict normal user operation nor DB consistency, so using sudo mode now and testing behavior.
2024-03-27 16:18:43 +00:00
David Vidal 6953201f2a [MIG] mass_mailing_partner: Migration to 10.0 2024-03-27 16:18:43 +00:00
Jairo Llopis bcac2ed7f9 [FIX] mass_mailing_partner: Several things:
* Exclude opt_out.

  Now opted-out records will not be counted in the "Mailing lists" smart button
  in the partner form.

* Avoid duplicate error.

  By indicating the exact `partner_id` and ensuring no contacts associated to it are found, you avoid possible duplication errors when several partners share the same name or email.
2024-03-27 16:18:43 +00:00
Antonio Espinosa b7ef9148e8 Link mail statistics to partner (#104)
[IMP] mass_mailing_partner: Link mail statistics to partner
2024-03-27 16:18:43 +00:00
Javier Iniesta e3f9bc0e73 mass_mailing_partner 2024-03-27 16:18:43 +00:00
OCA-git-bot 449852bef1 [BOT] post-merge updates 2024-03-25 07:44:13 +00:00
OCA-git-bot b16b65be2f Merge PR #1325 into 17.0
Signed-off-by pedrobaeza
2024-03-25 07:42:15 +00:00
Mohamed Osman 65e6f69908 [UPD] copier version 1.20 2024-03-20 11:03:58 +00:00
OCA-git-bot e2aaea4d85 [BOT] post-merge updates 2024-02-29 11:44:50 +00:00
oca-ci adc7e80d8b [UPD] Update mail_activity_board.pot 2024-02-29 11:42:51 +00:00
oca-ci 996030b72d [UPD] Update base_search_mail_content.pot 2024-02-29 11:42:50 +00:00
OCA-git-bot 1a8fba970b Merge PR #1284 into 17.0
Signed-off-by etobella
2024-02-29 11:41:08 +00:00
docker-odoo b24e056551 [MIG] mail_activity_board: Migration to 17.0 2024-02-16 17:35:20 +00:00
Franco Leyes 86119fada0 [IMP] mail_activity_board: pre-commit auto fixes 2024-02-16 17:35:20 +00:00
mymage af9a41fde1 Added translation using Weblate (Italian) 2024-02-16 17:35:20 +00:00
OCA-git-bot 4e157f44ce [BOT] post-merge updates 2024-02-16 17:35:20 +00:00
Yann Papouin f1e386a06a [FIX] mail_activity_board: Use valid field for user avatar
`image_small` field has been renamed to `image_small` since the use of `image.mixin`
2024-02-16 17:35:20 +00:00
Ivorra78 ad4e1278fd Translated using Weblate (Spanish)
Currently translated at 100.0% (22 of 22 strings)

Translation: social-16.0/social-16.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_board/es/
2024-02-16 17:35:20 +00:00
OCA-git-bot 69abe16cbf [UPD] README.rst 2024-02-16 17:35:20 +00:00
Houzéfa Abbasbhay 4ed6f07791 Translated using Weblate (French)
Currently translated at 95.4% (21 of 22 strings)

Translation: social-16.0/social-16.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_board/fr/
2024-02-16 17:35:20 +00:00
Weblate ac2b314890 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-16.0/social-16.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_board/
2024-02-16 17:35:20 +00:00
OCA-git-bot f137a69ae8 mail_activity_board 16.0.1.1.0 2024-02-16 17:35:20 +00:00
oca-ci 90db619398 [UPD] Update mail_activity_board.pot 2024-02-16 17:35:20 +00:00
Víctor Martínez b0c5f49769 [IMP] mail_activity_board: Add group so that the activity dashboard is only visible if the user has the permission.
TT43037
2024-02-16 17:35:20 +00:00
Weblate e94db6f942 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-16.0/social-16.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_activity_board/
2024-02-16 17:35:20 +00:00
OCA-git-bot 5c77833fd9 [UPD] README.rst 2024-02-16 17:35:20 +00:00
oca-ci 31a7561139 [UPD] Update mail_activity_board.pot 2024-02-16 17:35:20 +00:00
augusto-weiss da60ac1256 [MIG] mail_activity_board: Migration to 16.0 2024-02-16 17:35:20 +00:00
OCA-git-bot f658f6ed45 mail_activity_board 15.0.1.1.1 2024-02-16 17:35:20 +00:00
AaronHForgeFlow bdde5ce902 [FIX] mail_activity_board: read access to ir.model for non admin
users when accessing records that inherit mail.activity mixing
2024-02-16 17:35:20 +00:00
jabelchi d3ef33daae Translated using Weblate (Catalan)
Currently translated at 90.0% (18 of 20 strings)

Translation: social-15.0/social-15.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_activity_board/ca/
2024-02-16 17:35:20 +00:00
jabelchi bdc5d9fe84 Added translation using Weblate (Catalan) 2024-02-16 17:35:20 +00:00
OCA Transbot a6e026e151 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-15.0/social-15.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_activity_board/
2024-02-16 17:35:20 +00:00
OCA-git-bot cc0da01d4f mail_activity_board 15.0.1.1.0 2024-02-16 17:35:20 +00:00
OCA-git-bot 00fa5a3633 [UPD] README.rst 2024-02-16 17:35:20 +00:00
oca-ci 83354d2aff [UPD] Update mail_activity_board.pot 2024-02-16 17:35:20 +00:00
Miquel Raïch 0e81fdb4ef [IMP] mail_activity_board: direct access from activity board form view 2024-02-16 17:35:20 +00:00
Laurent Mignon (ACSONE) 485cb0ae6b [IMP] mail_activity_board: Direct access to related model instance
Add a direct access from activity calendar and form views to the linked model instance.

Bedore this change, it was not possible to access to the model instance linked to an activity from the calendar view nor from the view opened by clicling on the activity into the calendar

[IMP] mail_activiy_board: Restrict related_model_instance selection to models supporting mail acitvities

Co-Authored-By: Miquel Raïch <miquel.raich@eficent.com>
2024-02-16 17:35:20 +00:00
tfo 5f77dcdc71 Added translation using Weblate (French) 2024-02-16 17:35:20 +00:00
OCA-git-bot 095d815f48 [UPD] README.rst 2024-02-16 17:35:20 +00:00
oca-ci 62e182b2f5 [UPD] Update mail_activity_board.pot 2024-02-16 17:35:20 +00:00
Joan Mateu Jordi 4261306b11 [15.0][MIG] mail_activity_board: Migration to 15.0 2024-02-16 17:35:20 +00:00
OCA-git-bot 6f912e7851 [UPD] README.rst 2024-02-16 17:35:20 +00:00