Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
-
Re: OCA 2024 Membership
Thanks so much for the support Michael.
You are definitely all set for the new year!
Yes, to show in the membership directory you need to opt in to having your details published on the website through the survey (we instigated this some years back when GDPR came into effect).So people need to fill in the survey to be shown. If anyone is having trouble with the details shown or would like to update etc just let me know and I can help you with his.
While things still probably feel a little clunky at present I really think going forward it will get easier with these new changes we've made and I hope we can add even more automation to smooth out the process for next year. I'm finding this year I am able to do a good amount of cleaning up as I go which is great for the future.
Have a great week everyone and if you haven't bought off the website yet, keep an eye out for invoice through the system this week.
RebeccaOn Fri, 12 Jan 2024 at 22:36, Michel Stroom <notifications@odoo-community.org> wrote:Dear community and Odooers,
I believe we can greatly assist Rebecca by collectively purchasing the 2024 OCA membership online, relieving her from significant manual work.
Membership directory:
If you wish to be included in the membership directory, please take a moment to complete the privacy survey (the survey link is provided in the invoice email).You can also find the survey link in My Account => Documents => Invoices & Bills => select the invoice number => view History below the invoice for a message from Rebecca after logging in to the OCA website.
Buy your 2024 OCA membership TODAY:2024 OCA Member: https://odoo-community.org/shop/24-msm-2024-oca-member-5038092024 OCA Delegate: https://odoo-community.org/shop/24-msb-2024-oca-board-503811
The 2024 OCA Membership is only 50 Euro !!
What are you waiting for ?
I already purchased the 2024 OCA Membership yesterday and completed the survey this morning to be listed in the membership directory.
Let’s help Rebecca and pay your 2024 OCA membership online.
Best regards,
Michel Stroom
Office Everywhere
e: mstroom@office-everywhere.com
w: Office-Everywhere.comOn 12 Jan 2024, at 08:32, Rebecca Gellatly <notifications@odoo-community.org> wrote:
Thanking you Benoît!
Holger, I'll message you now.
Thanks everyone.
On Fri, 12 Jan 2024 at 12:57, Benoît Guillot <notifications@odoo-community.org> wrote:
Hello,
Thank you Radovan.
Indeed, I wanted to display the previous year's members but I was too quick with my fix.
It's corrected, now the numbers of members displayed are consistent.
Le jeu. 11 janv. 2024 à 21:47, Rebecca Gellatly <notifications@odoo-community.org> a écrit :
Thanks for this Radovan. Yes, I noticed this the other day but wanted to see what would happen as we started invoicing.
Will keep you posted.
Appreciate your time.
Rebecca
On Fri, 12 Jan 2024 at 09:27, Radovan Skolnik <notifications@odoo-community.org> wrote:
Hello,
don't know if it's still only me but membership directory is still broken. If you click on the link sent in the email, you will see list if countries with number of patients in each of them. If you click on any of them, you'll get result saying "No result found". See attached screenshot with my country...
Best regards,
Radovan Skolnik
On Jan 11, 2024 03:07, Rebecca Gellatly <notifications@odoo-community.org> wrote:
Hello OCA Contributors,
Welcome to 2024!
I am in the process of sorting out memberships for 2024. Check out our new logo badges!
If you would like, you can purchase your membership yourself on the website:
• 2024 OCA Member
• 2024 OCA Delegate
• 2024 Sponsorship
If you would like a corporate membership with all your company's members on the one invoice please get in touch with me at membership@odoo-community.org and I will sort this out for you.
We have changed the process up a bit and hope that the new corporate invoicing will be much smoother going forward.
I am super excited to share that the membership directory has been fixed as well - once your invoice has been reconciled you should now show on the directory. Big thanks to Benoît Guillot and Graeme Gellatly for all the work on getting this sorted.
Please be a little patient with reconciliation on the direct bank payments - this takes a little longer for the info to get through than Paypal and Stripe.
Wishing you all a wonderful start to the year.
Any questions please just get in touch.
Rebecca
--
Rebecca Gellatly
General Secretary
Odoo Community Association
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Rebecca Gellatly
General Secretary
Odoo Community Association
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Benoît Guillot
Mail: benoit.guillot@akretion.com
Mobile : +33 6 66 50 39 90
Jabber/Gtalk : benoit.guillot@akretion.com.br
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Rebecca Gellatly
General Secretary
Odoo Community Association
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Rebecca GellatlyGeneral SecretaryOdoo Community Association
by Rebecca Gellatly - 08:41 - 15 Jan 2024 -
Re: AW: Module to Create Custom Menu / Link to External Apps
Hi Dave,Awesome, didn't know it was possible. Thank you.Best regards,ZainuddinOn Saturday, 13 January 2024 at 04:32:25 pm MYT, David Brühlmeier <notifications@odoo-community.org> wrote:Hi Zainuddin,
no need to create a module, you can do this directly in Odoo.
- Download the Nextcloud icon you wish to have as a menu item
- Activate Developer Mode
- Go to “Settings / Technical / User Interface / Menu Items”
- New
- Menu: Nextcloud
- Web Icon Image: Upload your file
- Action: Choose “ir.actions.act_url” and in the field right next to it, enter “Nextcloud”
- Click on “Create and edit”
i. Action URL: Enter the URL you want the menu to point to
ii. Save and Close
- Save
- Hit refresh in the browser to see the new menu item
I actually just learned this a few weeks ago, because I also wanted a Nextcloud icon on the home screen. :-)
Cheers, Dave
Von: Zainuddin Zakaria <notifications@odoo-community.org>
Gesendet: Samstag, 13. Januar 2024 07:22
An: Contributors <contributors@odoo-community.org>
Betreff: Module to Create Custom Menu / Link to External AppsHi Community,
I would like to ask whether there is a module that allows us to create a menu to external apps url. For example, we have a superset installed, and we want user to have a menu to click to this superset url from the odoo main menu it self. That module should allow us to add multiple apps/url and build the menu automatically. Its like an external apps menu in Nextcloud if you all familiar.
I've searched the apps/web to look whether someone already created that before thinking of creating my self. It should be easy to do, I think.
Thank you.
Kind regards,
Zainuddin
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by fanzalika - 01:30 - 13 Jan 2024 -
AW: Module to Create Custom Menu / Link to External Apps
Hi Zainuddin,
no need to create a module, you can do this directly in Odoo.
- Download the Nextcloud icon you wish to have as a menu item
- Activate Developer Mode
- Go to “Settings / Technical / User Interface / Menu Items”
- New
- Menu: Nextcloud
- Web Icon Image: Upload your file
- Action: Choose “ir.actions.act_url” and in the field right next to it, enter “Nextcloud”
- Click on “Create and edit”
i. Action URL: Enter the URL you want the menu to point to
ii. Save and Close
- Save
- Hit refresh in the browser to see the new menu item
I actually just learned this a few weeks ago, because I also wanted a Nextcloud icon on the home screen. :-)
Cheers, Dave
Von: Zainuddin Zakaria <notifications@odoo-community.org>
Gesendet: Samstag, 13. Januar 2024 07:22
An: Contributors <contributors@odoo-community.org>
Betreff: Module to Create Custom Menu / Link to External AppsHi Community,
I would like to ask whether there is a module that allows us to create a menu to external apps url. For example, we have a superset installed, and we want user to have a menu to click to this superset url from the odoo main menu it self. That module should allow us to add multiple apps/url and build the menu automatically. Its like an external apps menu in Nextcloud if you all familiar.
I've searched the apps/web to look whether someone already created that before thinking of creating my self. It should be easy to do, I think.
Thank you.
Kind regards,
Zainuddin
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by David Brühlmeier - 09:31 - 13 Jan 2024 -
MQTT client for Odoo
We have create specially for our customers with complex environment (multi-service) this addon https://apps.odoo.com/apps/modules/17.0/rabbitmq_connector/
It is also compatible with queuejob module from OCA. So makes it even better in terms of scalability and architecture
On Saturday, January 13, 2024, Apm Consultancy <notifications@odoo-community.org > wrote:Dears,Please can one who already experienced to pub/sub on topics of MQTT broker share the approach or the pieces of use?Best regards,MiroL- iPhone -______________________________
_________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--///
Best Regards,
Oleg Kuryan
CEO & COO, VentorTech OÜ | Building Personalized Inventory and Product Management Systems
by "Oleg Kuryan" <oleg@ventor.tech> - 08:51 - 13 Jan 2024 -
Re: MQTT client for Odoo
There is a module for AMQP. If you use RabbitMQ as your broker, both AMQP and MQTT are compatibleOn Sat, 13 Jan 2024, 08:07 Apm Consultancy, <notifications@odoo-community.org> wrote:Dears,Please can one who already experienced to pub/sub on topics of MQTT broker share the approach or the pieces of use?Best regards,MiroL- iPhone -_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Enric Tobella Alomar - 08:35 - 13 Jan 2024 -
Re: Module to Create Custom Menu / Link to External Apps
Hi,I saw it other way around- an one embedded the Odoo menu (Sales, Manufacturing, accounting,…) within a simple made e-commerce web page where the flow starts with the customer ordering online a piece… despite all the limitations it looked not bad from UI point of view. I am not clear how that would work from Odoo user’ license point of view …Best regardsMiroL- iPhone -On Sat, 13 Jan 2024 at 13:22 Zainuddin Zakaria <notifications@odoo-community.org> wrote:Hi Community,I would like to ask whether there is a module that allows us to create a menu to external apps url. For example, we have a superset installed, and we want user to have a menu to click to this superset url from the odoo main menu it self. That module should allow us to add multiple apps/url and build the menu automatically. Its like an external apps menu in Nextcloud if you all familiar.I've searched the apps/web to look whether someone already created that before thinking of creating my self. It should be easy to do, I think.Thank you.Kind regards,Zainuddin_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by milori2006 - 08:16 - 13 Jan 2024 -
MQTT client for Odoo
Dears,Please can one who already experienced to pub/sub on topics of MQTT broker share the approach or the pieces of use?Best regards,MiroL- iPhone -
by milori2006 - 08:05 - 13 Jan 2024 -
Module to Create Custom Menu / Link to External Apps
Hi Community,I would like to ask whether there is a module that allows us to create a menu to external apps url. For example, we have a superset installed, and we want user to have a menu to click to this superset url from the odoo main menu it self. That module should allow us to add multiple apps/url and build the menu automatically. Its like an external apps menu in Nextcloud if you all familiar.I've searched the apps/web to look whether someone already created that before thinking of creating my self. It should be easy to do, I think.Thank you.Kind regards,Zainuddin
by fanzalika - 07:21 - 13 Jan 2024 -
Re: define weight for product template
Hello Jan,I have the same need in Odoo 14. We have also added a "FedEx Shipping Module" from Vraja and it is very complicated to get anything like a proper weight for shipping, and moreover, as you note, the effort of applying Product weights and dimensions per variant takes considerable upkeep.My "sense" is that if weight and dimensions would have been applied BEFORE variants were created then it might work.It is on my "to do list" to see if I can set the data for such directly to the Database.More optimisically, there might be an OCA module to help with these subjects.Thanks for noting,Landis ArnoldNomadic Inc.Niwot, CO USAFrom: "Jan Suhr | Nitrokey" <notifications@odoo-community.org>
To: "Odoo Community Association, (OCA) Contributors" <contributors@odoo-community.org>
Sent: Friday, January 12, 2024 2:06:48 PM
Subject: define weight for product templateHi! Using Odoo 15.0, I can define weight within each product variant but not within a product template. I use the variant creation method "dynamically" and want to define the weight once in the product template which should be applies to all future product variants. Is this possible with existing modules or does it require custom code? Best regards Jan
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Landis Arnold - 10:41 - 12 Jan 2024 -
define weight for product template
Hi! Using Odoo 15.0, I can define weight within each product variant but not within a product template. I use the variant creation method "dynamically" and want to define the weight once in the product template which should be applies to all future product variants. Is this possible with existing modules or does it require custom code? Best regards Jan
by Jan Suhr - 10:06 - 12 Jan 2024 -
Re: External access token expiration
Thanks JohanIt's also a solution I had in mind but one I wanted to avoid. Anyway, I guess it will be the only option to have something reliable and that we can control over time.camptocampINNOVATIVE SOLUTIONSBY OPEN SOURCE EXPERTSAkim JuilleratBusiness solutionsSoftware architectOn Fri, Jan 12, 2024 at 10:57 AM Johan Van Hirtum <notifications@odoo-community.org> wrote:Dear,
I don’t use this. But I would make the token field on the document a ‘to many’ field. You create a token, each time you send a document. The tokens get a expire field. And a simple cron job deletes each day the expired tokens. This gives you the required function with little rewrite and practical no penalties : the solution stay the same for the user, there is practically no extra memory or processing needed. So this could maybe be the standard for this modules -)
With kind regards,
Van Hirtum Johan
Van: Akim Juillerat [mailto:notifications@odoo-community.org]
Verzonden: donderdag 11 januari 2024 19:48
Aan: Contributors
Onderwerp: External access token expirationDear community
With portal module installed, Odoo can send links to documents by e-mail using an access token so that the recipient doesn't need a portal user to see said documents.
The token is handled in the portal.mixin https://github.com/odoo/odoo/blob/15.0/addons/portal/models/portal_mixin.py#L15
Access to the document is handled through this controller: https://github.com/odoo/odoo/blob/15.0/addons/portal/controllers/mail.py#L206
Now, it's been multiple time customer are requiring to expire this token one way or another, because in standard Odoo the document stays accessible forever. The only solutions I could come up with without having to change everything are described below (extracte d from personal notes):
That means, to restrict the validity of the token that was sent in the mail, the token set on the record that is accessed needs to change after a "validity period". The issue with this, is if the link for a same record is sent multiple times during a single "validity period", the availability will not be the same. For example, if we want to define that access tokens are recomputed every 30 days, someone receiving an e-mail 5 days after the token was recomputed would be able to access the document for 25 days, and someone receiving an e-mail 25 days after the token was recomputed would be able to access it only for 5 days.
A slightly better solution without changing everything but probably more tricky to implement properly, would be to add a new Datetime field next_access_token_refresh on portal.mixin (or another mixin to be inherited on selected models in order to control the application by model) and set it XXX days in the future (according to a server parameter) each time we need to set the access token in an email. If we define the availability to 30 days, that means if a mail is sent to access the same document to a first external user today and to a second external user in 15 days, the first external user would be able to access it during a period of 45 days.
Did anyone here face a similar requirement? How did you handle it?
Ideally, we would need a single token to be generated per e-mail being sent so that we can define the expiration of said token, but it seems like there's no other solution than to overwrite and redefine everything, what I would prefer to avoid to ease maintenance of such a module.
Thanks for sharing your insights.
camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS
Akim Juillerat
Business solutions
Software architect
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Akim Juillerat - 05:56 - 12 Jan 2024 -
Re: External access token expiration
Thanks Holger for your answer.I'm not sure it would work in our case if said e-mail has to be sent multiple times, but it's an interesting technique I'll try to keep in mind for a later use.camptocampINNOVATIVE SOLUTIONSBY OPEN SOURCE EXPERTSAkim JuilleratBusiness solutionsSoftware architectOn Thu, Jan 11, 2024 at 9:52 PM Holger Brunn <notifications@odoo-community.org> wrote:> Did anyone here face a similar requirement? How did you handle it? > Ideally, we would need a single token to be generated per e-mail being sent > so that we can define the expiration of said token, but it seems like > there's no other solution than to overwrite and redefine everything, what I > would prefer to avoid to ease maintenance of such a module. Thanks for > sharing your insights. are you aware of the poisoning the cache technique? you can do things like def _notify_get_groups(self, msg_vals=None): self._cache['access_token'] = 'whatever you need for your workflow' return super()._notify_get_groups(msg_vals=msg_vals) and given super won't initiate a new database read, it will stick with whatever you put in the cache, as that's where the ORM reads values from first. I read through your whole thing because I'm a weird kind of nerd, for other people to read it I suggest to start with a TLDR on the beginning so that people can filter if they're interested or not. -- Your partner for the hard Odoo problems https://hunki-enterprises.com
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Akim Juillerat - 05:56 - 12 Jan 2024 -
Re: [SPAM] Re: OCA 2024 Membership -> Thanks!
Hello Michel,As a member of the OCA Board, I wanted to personnaly thank you for the message you sent today to help Rebecca sort things out easily with the new membership process.We need members and contributors with your spiritThanks a lot for your king message!--
Virginie+32 477 64 17 20Info : 2j/semaine sont dédiés à Chaf et 3j/semaine sont dédiés à Coop IT Easy-----Original Message-----From: Michel Stroom <notifications@odoo-community.org>Reply-To: Contributors <contributors@odoo-community.org>To: Contributors <contributors@odoo-community.org>Subject: [SPAM] Re: OCA 2024 MembershipDate: Fri, 12 Jan 2024 09:36:48 -0000Dear community and Odooers,
I believe we can greatly assist Rebecca by collectively purchasing the 2024 OCA membership online, relieving her from significant manual work.
Membership directory:
If you wish to be included in the membership directory, please take a moment to complete the privacy survey (the survey link is provided in the invoice email).You can also find the survey link in My Account => Documents => Invoices & Bills => select the invoice number => view History below the invoice for a message from Rebecca after logging in to the OCA website.
Buy your 2024 OCA membership TODAY:2024 OCA Member: https://odoo-community.org/shop/24-msm-2024-oca-member-5038092024 OCA Delegate: https://odoo-community.org/shop/24-msb-2024-oca-board-503811
The 2024 OCA Membership is only 50 Euro !!
What are you waiting for ?
I already purchased the 2024 OCA Membership yesterday and completed the survey this morning to be listed in the membership directory.
Let’s help Rebecca and pay your 2024 OCA membership online.
Best regards,
Michel Stroom
Office Everywhere
e: mstroom@office-everywhere.com
w: Office-Everywhere.comOn 12 Jan 2024, at 08:32, Rebecca Gellatly <notifications@odoo-community.org> wrote:
Thanking you Benoît!
Holger, I'll message you now.
Thanks everyone.
On Fri, 12 Jan 2024 at 12:57, Benoît Guillot <notifications@odoo-community.org> wrote:
Hello,
Thank you Radovan.
Indeed, I wanted to display the previous year's members but I was too quick with my fix.
It's corrected, now the numbers of members displayed are consistent.
Le jeu. 11 janv. 2024 à 21:47, Rebecca Gellatly <notifications@odoo-community.org> a écrit :
Thanks for this Radovan. Yes, I noticed this the other day but wanted to see what would happen as we started invoicing.
Will keep you posted.
Appreciate your time.
Rebecca
On Fri, 12 Jan 2024 at 09:27, Radovan Skolnik <notifications@odoo-community.org> wrote:
Hello,
don't know if it's still only me but membership directory is still broken. If you click on the link sent in the email, you will see list if countries with number of patients in each of them. If you click on any of them, you'll get result saying "No result found". See attached screenshot with my country...
Best regards,
Radovan Skolnik
On Jan 11, 2024 03:07, Rebecca Gellatly <notifications@odoo-community.org> wrote:
Hello OCA Contributors,
Welcome to 2024!
I am in the process of sorting out memberships for 2024. Check out our new logo badges!
If you would like, you can purchase your membership yourself on the website:
• 2024 OCA Member
• 2024 OCA Delegate
• 2024 Sponsorship
If you would like a corporate membership with all your company's members on the one invoice please get in touch with me at membership@odoo-community.org and I will sort this out for you.
We have changed the process up a bit and hope that the new corporate invoicing will be much smoother going forward.
I am super excited to share that the membership directory has been fixed as well - once your invoice has been reconciled you should now show on the directory. Big thanks to Benoît Guillot and Graeme Gellatly for all the work on getting this sorted.
Please be a little patient with reconciliation on the direct bank payments - this takes a little longer for the info to get through than Paypal and Stripe.
Wishing you all a wonderful start to the year.
Any questions please just get in touch.
Rebecca
--
Rebecca Gellatly
General Secretary
Odoo Community Association
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Rebecca Gellatly
General Secretary
Odoo Community Association
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Benoît Guillot
Mail: benoit.guillot@akretion.com
Mobile : +33 6 66 50 39 90
Jabber/Gtalk : benoit.guillot@akretion.com.br
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Rebecca Gellatly
General Secretary
Odoo Community Association
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Virginie Dewulf. - 02:39 - 12 Jan 2024 -
RE: External access token expiration
Dear,
I don’t use this. But I would make the token field on the document a ‘to many’ field. You create a token, each time you send a document. The tokens get a expire field. And a simple cron job deletes each day the expired tokens. This gives you the required function with little rewrite and practical no penalties : the solution stay the same for the user, there is practically no extra memory or processing needed. So this could maybe be the standard for this modules -)
With kind regards,
Van Hirtum Johan
Van: Akim Juillerat [mailto:notifications@odoo-community.org]
Verzonden: donderdag 11 januari 2024 19:48
Aan: Contributors
Onderwerp: External access token expirationDear community
With portal module installed, Odoo can send links to documents by e-mail using an access token so that the recipient doesn't need a portal user to see said documents.
The token is handled in the portal.mixin https://github.com/odoo/odoo/blob/15.0/addons/portal/models/portal_mixin.py#L15
Access to the document is handled through this controller: https://github.com/odoo/odoo/blob/15.0/addons/portal/controllers/mail.py#L206
Now, it's been multiple time customer are requiring to expire this token one way or another, because in standard Odoo the document stays accessible forever. The only solutions I could come up with without having to change everything are described below (extracte d from personal notes):
That means, to restrict the validity of the token that was sent in the mail, the token set on the record that is accessed needs to change after a "validity period". The issue with this, is if the link for a same record is sent multiple times during a single "validity period", the availability will not be the same. For example, if we want to define that access tokens are recomputed every 30 days, someone receiving an e-mail 5 days after the token was recomputed would be able to access the document for 25 days, and someone receiving an e-mail 25 days after the token was recomputed would be able to access it only for 5 days.
A slightly better solution without changing everything but probably more tricky to implement properly, would be to add a new Datetime field next_access_token_refresh on portal.mixin (or another mixin to be inherited on selected models in order to control the application by model) and set it XXX days in the future (according to a server parameter) each time we need to set the access token in an email. If we define the availability to 30 days, that means if a mail is sent to access the same document to a first external user today and to a second external user in 15 days, the first external user would be able to access it during a period of 45 days.
Did anyone here face a similar requirement? How did you handle it?
Ideally, we would need a single token to be generated per e-mail being sent so that we can define the expiration of said token, but it seems like there's no other solution than to overwrite and redefine everything, what I would prefer to avoid to ease maintenance of such a module.
Thanks for sharing your insights.
camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS
Akim Juillerat
Business solutions
Software architect
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by johan - 10:56 - 12 Jan 2024 -
Re: OCA 2024 Membership
Dear community and Odooers,
I believe we can greatly assist Rebecca by collectively purchasing the 2024 OCA membership online, relieving her from significant manual work.
Membership directory:
If you wish to be included in the membership directory, please take a moment to complete the privacy survey (the survey link is provided in the invoice email).You can also find the survey link in My Account => Documents => Invoices & Bills => select the invoice number => view History below the invoice for a message from Rebecca after logging in to the OCA website.
Buy your 2024 OCA membership TODAY:2024 OCA Member: https://odoo-community.org/shop/24-msm-2024-oca-member-5038092024 OCA Delegate: https://odoo-community.org/shop/24-msb-2024-oca-board-503811
The 2024 OCA Membership is only 50 Euro !!
What are you waiting for ?
I already purchased the 2024 OCA Membership yesterday and completed the survey this morning to be listed in the membership directory.
Let’s help Rebecca and pay your 2024 OCA membership online.
Best regards,
Michel Stroom
Office Everywhere
e: mstroom@office-everywhere.com
w: Office-Everywhere.comOn 12 Jan 2024, at 08:32, Rebecca Gellatly <notifications@odoo-community.org> wrote:
Thanking you Benoît!
Holger, I'll message you now.
Thanks everyone.
On Fri, 12 Jan 2024 at 12:57, Benoît Guillot <notifications@odoo-community.org> wrote:
Hello,
Thank you Radovan.
Indeed, I wanted to display the previous year's members but I was too quick with my fix.
It's corrected, now the numbers of members displayed are consistent.
Le jeu. 11 janv. 2024 à 21:47, Rebecca Gellatly <notifications@odoo-community.org> a écrit :
Thanks for this Radovan. Yes, I noticed this the other day but wanted to see what would happen as we started invoicing.
Will keep you posted.
Appreciate your time.
Rebecca
On Fri, 12 Jan 2024 at 09:27, Radovan Skolnik <notifications@odoo-community.org> wrote:
Hello,
don't know if it's still only me but membership directory is still broken. If you click on the link sent in the email, you will see list if countries with number of patients in each of them. If you click on any of them, you'll get result saying "No result found". See attached screenshot with my country...
Best regards,
Radovan Skolnik
On Jan 11, 2024 03:07, Rebecca Gellatly <notifications@odoo-community.org> wrote:
Hello OCA Contributors,
Welcome to 2024!
I am in the process of sorting out memberships for 2024. Check out our new logo badges!
If you would like, you can purchase your membership yourself on the website:
• 2024 OCA Member
• 2024 OCA Delegate
• 2024 Sponsorship
If you would like a corporate membership with all your company's members on the one invoice please get in touch with me at membership@odoo-community.org and I will sort this out for you.
We have changed the process up a bit and hope that the new corporate invoicing will be much smoother going forward.
I am super excited to share that the membership directory has been fixed as well - once your invoice has been reconciled you should now show on the directory. Big thanks to Benoît Guillot and Graeme Gellatly for all the work on getting this sorted.
Please be a little patient with reconciliation on the direct bank payments - this takes a little longer for the info to get through than Paypal and Stripe.
Wishing you all a wonderful start to the year.
Any questions please just get in touch.
Rebecca
--
Rebecca Gellatly
General Secretary
Odoo Community Association
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Rebecca Gellatly
General Secretary
Odoo Community Association
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Benoît Guillot
Mail: benoit.guillot@akretion.com
Mobile : +33 6 66 50 39 90
Jabber/Gtalk : benoit.guillot@akretion.com.br
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Rebecca Gellatly
General Secretary
Odoo Community Association
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Michel Stroom - 10:35 - 12 Jan 2024 -
Re: OCA 2024 Membership
Thanking you Benoît!
Holger, I'll message you now.
Thanks everyone.On Fri, 12 Jan 2024 at 12:57, Benoît Guillot <notifications@odoo-community.org> wrote:Hello,Thank you Radovan.Indeed, I wanted to display the previous year's members but I was too quick with my fix.
It's corrected, now the numbers of members displayed are consistent.Le jeu. 11 janv. 2024 à 21:47, Rebecca Gellatly <notifications@odoo-community.org> a écrit :Thanks for this Radovan. Yes, I noticed this the other day but wanted to see what would happen as we started invoicing.
Will keep you posted.Appreciate your time.RebeccaOn Fri, 12 Jan 2024 at 09:27, Radovan Skolnik <notifications@odoo-community.org> wrote:Hello,don't know if it's still only me but membership directory is still broken. If you click on the link sent in the email, you will see list if countries with number of patients in each of them. If you click on any of them, you'll get result saying "No result found". See attached screenshot with my country...Best regards,Radovan SkolnikOn Jan 11, 2024 03:07, Rebecca Gellatly <notifications@odoo-community.org> wrote:Hello OCA Contributors,
Welcome to 2024!I am in the process of sorting out memberships for 2024. Check out our new logo badges!
If you would like, you can purchase your membership yourself on the website:If you would like a corporate membership with all your company's members on the one invoice please get in touch with me at membership@odoo-community.org and I will sort this out for you.We have changed the process up a bit and hope that the new corporate invoicing will be much smoother going forward.I am super excited to share that the membership directory has been fixed as well - once your invoice has been reconciled you should now show on the directory. Big thanks to Benoît Guillot and Graeme Gellatly for all the work on getting this sorted.Please be a little patient with reconciliation on the direct bank payments - this takes a little longer for the info to get through than Paypal and Stripe.Wishing you all a wonderful start to the year.Any questions please just get in touch.
Rebecca--Rebecca GellatlyGeneral SecretaryOdoo Community Association_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Rebecca GellatlyGeneral SecretaryOdoo Community Association_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Mobile : +33 6 66 50 39 90Jabber/Gtalk : benoit.guillot@akretion.com.br_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Rebecca GellatlyGeneral SecretaryOdoo Community Association
by Rebecca Gellatly - 08:31 - 12 Jan 2024 -
Re: OCA 2024 Membership
Hello,Thank you Radovan.Indeed, I wanted to display the previous year's members but I was too quick with my fix.
It's corrected, now the numbers of members displayed are consistent.Le jeu. 11 janv. 2024 à 21:47, Rebecca Gellatly <notifications@odoo-community.org> a écrit :Thanks for this Radovan. Yes, I noticed this the other day but wanted to see what would happen as we started invoicing.
Will keep you posted.Appreciate your time.RebeccaOn Fri, 12 Jan 2024 at 09:27, Radovan Skolnik <notifications@odoo-community.org> wrote:Hello,don't know if it's still only me but membership directory is still broken. If you click on the link sent in the email, you will see list if countries with number of patients in each of them. If you click on any of them, you'll get result saying "No result found". See attached screenshot with my country...Best regards,Radovan SkolnikOn Jan 11, 2024 03:07, Rebecca Gellatly <notifications@odoo-community.org> wrote:Hello OCA Contributors,
Welcome to 2024!I am in the process of sorting out memberships for 2024. Check out our new logo badges!
If you would like, you can purchase your membership yourself on the website:If you would like a corporate membership with all your company's members on the one invoice please get in touch with me at membership@odoo-community.org and I will sort this out for you.We have changed the process up a bit and hope that the new corporate invoicing will be much smoother going forward.I am super excited to share that the membership directory has been fixed as well - once your invoice has been reconciled you should now show on the directory. Big thanks to Benoît Guillot and Graeme Gellatly for all the work on getting this sorted.Please be a little patient with reconciliation on the direct bank payments - this takes a little longer for the info to get through than Paypal and Stripe.Wishing you all a wonderful start to the year.Any questions please just get in touch.
Rebecca--Rebecca GellatlyGeneral SecretaryOdoo Community Association_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Rebecca GellatlyGeneral SecretaryOdoo Community Association_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Mobile : +33 6 66 50 39 90Jabber/Gtalk : benoit.guillot@akretion.com.br
by Benoît Guillot - 12:55 - 12 Jan 2024 -
Re: External access token expiration
> Did anyone here face a similar requirement? How did you handle it? > Ideally, we would need a single token to be generated per e-mail being sent > so that we can define the expiration of said token, but it seems like > there's no other solution than to overwrite and redefine everything, what I > would prefer to avoid to ease maintenance of such a module. Thanks for > sharing your insights. are you aware of the poisoning the cache technique? you can do things like def _notify_get_groups(self, msg_vals=None): self._cache['access_token'] = 'whatever you need for your workflow' return super()._notify_get_groups(msg_vals=msg_vals) and given super won't initiate a new database read, it will stick with whatever you put in the cache, as that's where the ORM reads values from first. I read through your whole thing because I'm a weird kind of nerd, for other people to read it I suggest to start with a TLDR on the beginning so that people can filter if they're interested or not. -- Your partner for the hard Odoo problems https://hunki-enterprises.com
by Holger Brunn - 09:51 - 11 Jan 2024 -
Re: OCA 2024 Membership
Thanks for this Radovan. Yes, I noticed this the other day but wanted to see what would happen as we started invoicing.
Will keep you posted.Appreciate your time.RebeccaOn Fri, 12 Jan 2024 at 09:27, Radovan Skolnik <notifications@odoo-community.org> wrote:Hello,don't know if it's still only me but membership directory is still broken. If you click on the link sent in the email, you will see list if countries with number of patients in each of them. If you click on any of them, you'll get result saying "No result found". See attached screenshot with my country...Best regards,Radovan SkolnikOn Jan 11, 2024 03:07, Rebecca Gellatly <notifications@odoo-community.org> wrote:Hello OCA Contributors,
Welcome to 2024!I am in the process of sorting out memberships for 2024. Check out our new logo badges!
If you would like, you can purchase your membership yourself on the website:If you would like a corporate membership with all your company's members on the one invoice please get in touch with me at membership@odoo-community.org and I will sort this out for you.We have changed the process up a bit and hope that the new corporate invoicing will be much smoother going forward.I am super excited to share that the membership directory has been fixed as well - once your invoice has been reconciled you should now show on the directory. Big thanks to Benoît Guillot and Graeme Gellatly for all the work on getting this sorted.Please be a little patient with reconciliation on the direct bank payments - this takes a little longer for the info to get through than Paypal and Stripe.Wishing you all a wonderful start to the year.Any questions please just get in touch.
Rebecca--Rebecca GellatlyGeneral SecretaryOdoo Community Association_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Rebecca GellatlyGeneral SecretaryOdoo Community Association
by Rebecca Gellatly - 09:46 - 11 Jan 2024 -
Re: OCA 2024 Membership
Hello,don't know if it's still only me but membership directory is still broken. If you click on the link sent in the email, you will see list if countries with number of patients in each of them. If you click on any of them, you'll get result saying "No result found". See attached screenshot with my country...Best regards,Radovan SkolnikOn Jan 11, 2024 03:07, Rebecca Gellatly <notifications@odoo-community.org> wrote:Hello OCA Contributors,
Welcome to 2024!I am in the process of sorting out memberships for 2024. Check out our new logo badges!
If you would like, you can purchase your membership yourself on the website:If you would like a corporate membership with all your company's members on the one invoice please get in touch with me at membership@odoo-community.org and I will sort this out for you.We have changed the process up a bit and hope that the new corporate invoicing will be much smoother going forward.I am super excited to share that the membership directory has been fixed as well - once your invoice has been reconciled you should now show on the directory. Big thanks to Benoît Guillot and Graeme Gellatly for all the work on getting this sorted.Please be a little patient with reconciliation on the direct bank payments - this takes a little longer for the info to get through than Paypal and Stripe.Wishing you all a wonderful start to the year.Any questions please just get in touch.
Rebecca--Rebecca GellatlyGeneral SecretaryOdoo Community Association_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Radovan Skolnik - 09:25 - 11 Jan 2024