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: Weird issue: database does not run tests
Thank you all for your ideas.
I believe Moises has hit the nail in the head.
Looking at the database, I found that my custom module didn't have the demonstration data flag set:
12-work=# select demo, count(*) from ir_module_module where state='installed' group by demo;
demo | count
------+-------
f | 2
t | 36
(2 rows)
I tried the following:
12-work=# update ir_module_module set demo=True where state='installed' and demo=False;
UPDATE 2
After doing this, tests are now executed as expected. \o/
I still think this there is an Odoo framework bug somewhere, but it least the case is identified and a workaround to save the database was found.
Thanks again
Daniel
On 24/09/2020 14:37, Moises Lopez wrote:
Hi Daniel
I noticed recently that if a module has errors loading data demo Odoo will disable it only for that module without errors but warnings.
Could you check if the boolean "ir_module_module.demo" is True or not for that module?
--
Moisés López CalderónMobile: (+521) 477-752-22-30Twitter: @moylop260Twitter: @vauxoo_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Daniel Reis - 01:45 - 25 Sep 2020 -
Re: Unsubscribe
Yes i see but it says me that i'm ever unsubscribed. And that's wrong as i always receive mails.
Le 25 sept. 2020 10:06 AM, Daniel Reis [dreis@opensourceintegrators.com] a écrit :Hello, I tried it and it seemed to be working.
Can you give some more details?
After you click on the unsubscribe button on the page, if you refresh it you still see the unsubscribe option?
On 25/09/2020 08:26, Benjamin Bachmann wrote:
same here I cannot unsubscribe
Am Fr., 25. Sept. 2020 um 08:47 Uhr schrieb Jean Sébastien HEDERER ASPerience <hedererjs@asperience.fr>:
Hi, It seems unsubscribe doesn't work well. I've tried numerous times to unsubscribe using link in mails received but it says me i'm ever unsubscribe. And i'm not... -- Bonne journée Cordialement, Jean Sébastien HEDERER Gérant ASPerience Conseil, intégration, hébergement de systèmes informatiques spécialisé en solutions logiciel libre de gestion d'entreprise. Tel technique : - 09.80.08.25.48 - - Tel commercial : - 09.80.08.25.47 - - Fax : - 09.80.08.25.46_______________________________________________
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
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Bonne journée
Cordialement,
Jean Sébastien HEDERER
Gérant
ASPerience
Conseil, intégration, hébergement de systèmes informatiques spécialisé en solutions logiciel libre de gestion d'entreprise.Tel technique : 09.80.08.25.48 Tel commercial : 09.80.08.25.47 Fax : 09.80.08.25.46
by Jean-Sébastien Hederer - 10:16 - 25 Sep 2020 -
Re: Unsubscribe
Hello, I tried it and it seemed to be working.
Can you give some more details?
After you click on the unsubscribe button on the page, if you refresh it you still see the unsubscribe option?
On 25/09/2020 08:26, Benjamin Bachmann wrote:
same here I cannot unsubscribe
Am Fr., 25. Sept. 2020 um 08:47 Uhr schrieb Jean Sébastien HEDERER ASPerience <hedererjs@asperience.fr>:
Hi, It seems unsubscribe doesn't work well. I've tried numerous times to unsubscribe using link in mails received but it says me i'm ever unsubscribe. And i'm not... -- Bonne journée Cordialement, Jean Sébastien HEDERER Gérant ASPerience Conseil, intégration, hébergement de systèmes informatiques spécialisé en solutions logiciel libre de gestion d'entreprise. Tel technique : - 09.80.08.25.48 - - Tel commercial : - 09.80.08.25.47 - - Fax : - 09.80.08.25.46_______________________________________________
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 Daniel Reis - 10:05 - 25 Sep 2020 -
Re: Unsubscribe
same here I cannot unsubscribeAm Fr., 25. Sept. 2020 um 08:47 Uhr schrieb Jean Sébastien HEDERER ASPerience <hedererjs@asperience.fr>:Hi, It seems unsubscribe doesn't work well. I've tried numerous times to unsubscribe using link in mails received but it says me i'm ever unsubscribe. And i'm not... -- Bonne journée Cordialement, Jean Sébastien HEDERER Gérant ASPerience Conseil, intégration, hébergement de systèmes informatiques spécialisé en solutions logiciel libre de gestion d'entreprise. Tel technique : - 09.80.08.25.48 - - Tel commercial : - 09.80.08.25.47 - - Fax : - 09.80.08.25.46_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Benjamin Bachmann - 09:25 - 25 Sep 2020 -
Unsubscribe
Hi, It seems unsubscribe doesn't work well. I've tried numerous times to unsubscribe using link in mails received but it says me i'm ever unsubscribe. And i'm not... -- Bonne journée Cordialement, Jean Sébastien HEDERER Gérant ASPerience Conseil, intégration, hébergement de systèmes informatiques spécialisé en solutions logiciel libre de gestion d'entreprise. Tel technique : - 09.80.08.25.48 - - Tel commercial : - 09.80.08.25.47 - - Fax : - 09.80.08.25.46
by Jean-Sébastien Hederer - 08:46 - 25 Sep 2020 -
Re: Petty Cash Odoo App
Hi,Sorry for the late reply.- Can we generate petty cash voucher from the app?
- We used expense report standard. - Can the app support the request of petty cash expense under Vendor Bills of Accounting Module?
- Yes, it supported. you can read usage on this module.
On Fri, Sep 25, 2020 at 8:47 AM Santa Anicete <santa.anicete@mtscloud.com> wrote:Hi Team,
Kind follow up on my queries below. Hope to hear from you soon.
Thank you.
Best regards,
Santa G. Anicete, Senior Accountant
Millennium Technology Services Group Phils., Inc., Unit 3 2nd Floor SMCI Bldg. Emilio Jacinto Corner Ninoy Aquino Avenue, 2023, Clark Freeport Zone, Pampanga
Tel +63 45 499-8206, Direct +63 45 499 8209
From: Santa Anicete
Sent: Wednesday, 23 September 2020 1:21 PM
To: contributors@odoo-community.org; accounting@odoo-community.org
Subject: Petty Cash Odoo AppHi Team,
Good day!
We are testing the Petty Cash Application below in Odoo v12, please help to verify the following queries.
- Can we generate petty cash voucher from the app?
- Can the app support the request of petty cash expense under Vendor Bills of Accounting Module?
Looking forward for your feedback.
Thank you so much!
https://apps.odoo.com/apps/modules/12.0/hr_expense_petty_cash/
Best regards,
Santa G. Anicete, Senior Accountant
Millennium Technology Services Group Phils., Inc., Unit 3 2nd Floor SMCI Bldg. Emilio Jacinto Corner Ninoy Aquino Avenue, 2023, Clark Freeport Zone, Pampanga
Tel +63 45 499-8206, Direct +63 45 499 8209
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by saranl - 06:11 - 25 Sep 2020 - Can we generate petty cash voucher from the app?
-
RE: Petty Cash Odoo App
Hi Team,
Kind follow up on my queries below. Hope to hear from you soon.
Thank you.
Best regards,
Santa G. Anicete, Senior Accountant
Millennium Technology Services Group Phils., Inc., Unit 3 2nd Floor SMCI Bldg. Emilio Jacinto Corner Ninoy Aquino Avenue, 2023, Clark Freeport Zone, Pampanga
Tel +63 45 499-8206, Direct +63 45 499 8209
From: Santa Anicete
Sent: Wednesday, 23 September 2020 1:21 PM
To: contributors@odoo-community.org; accounting@odoo-community.org
Subject: Petty Cash Odoo AppHi Team,
Good day!
We are testing the Petty Cash Application below in Odoo v12, please help to verify the following queries.
- Can we generate petty cash voucher from the app?
- Can the app support the request of petty cash expense under Vendor Bills of Accounting Module?
Looking forward for your feedback.
Thank you so much!
https://apps.odoo.com/apps/modules/12.0/hr_expense_petty_cash/
Best regards,
Santa G. Anicete, Senior Accountant
Millennium Technology Services Group Phils., Inc., Unit 3 2nd Floor SMCI Bldg. Emilio Jacinto Corner Ninoy Aquino Avenue, 2023, Clark Freeport Zone, Pampanga
Tel +63 45 499-8206, Direct +63 45 499 8209
by Santa Anicete - 03:46 - 25 Sep 2020 -
OCA - Odoo Experience Virtual Booth - any more volunteers?
Hello OCA Contributors,--
Odoo Experience is next week - 30th Sept and 1st Oct and we still need your help!
We had a few people sign up to be in attendance at the booth (thank you) but we need more. The times are as follows:Wednesday September 30th: 3:30pm to 10pm (CEST)
Thursday October 1st: 3pm to 10pm (CEST)
You'll find a roster here, if you are able to help out with just an hour or even half hour we would love to have you onboard.
We are hoping to drive traffic from here to the OCA Days in mid October. Questions are often around membership and how to start contributing etc. And if you have trouble answering any questions you can always get details and we can follow up from our side.
It would be great to have at least 3-4 people on at all times to keep a bit of buzz goingPlease fill in the spreadsheet if you can help and I'll be in touch with more details etc.
Warmest regards,
RebeccaRebecca GellatlyGeneral SecretaryOdoo Community Association
by Rebecca Gellatly - 02:46 - 25 Sep 2020 -
Re: Weird issue: database does not run tests
Hi DanielI noticed recently that if a module has errors loading data demo Odoo will disable it only for that module without errors but warnings.Could you check if the boolean "ir_module_module.demo" is True or not for that module?--Moisés López CalderónMobile: (+521) 477-752-22-30Twitter: @moylop260Twitter: @vauxoo
by Moisés López Calderón - 03:36 - 24 Sep 2020 -
Re: Weird issue: database does not run tests
One of our developers just had this issue with a single module. The tests would run in a copy of the production database, but not in a fresh and empty database.I asked him to install the module manually from the UI in the empty database and turns out that a dependency was missing in the manifest file and the module failed to install. This dependency was present in the copy of the production database and that's why the tests worked just fine there.--
Miku Laitinen, CTO, Partner
WEB-VEISTÄMÖ OY / AVOIN.SYSTEMSTutustu meikäläiseen ja muihin veistämöläisiin paremmin!
On Thu, Sep 24, 2020 at 1:57 PM Graeme Gellatly <gdgellatly@gmail.com> wrote:If a module is already installed -u works just fine. Im not sure -i even works if already installed hence the suggestion.On Thu, 24 Sep 2020, 10:42 pm Richard deMeester, <richard.demeester@willdooit.com> wrote:Oh, and tests only run when installing the module - have you used "-i module --test-entable" from the command line?
Richard deMeester
Senior Development Analyst
WilldooIT Pty Ltd
E: richard.demeester@willdooit.com
M: +61 403 76 76 76
P: +61 3 9135 1900
A: 10/435 Williamstown Road, Port Melbourne, Vic 3207
Making growth through technology easy
DISCLAIMER | This electronic message together with any attachments is confidential. If you are not the recipient, do not copy, disclose, or use the contents in any way. Please also advise us by e-mail that you have received this message in error and then please destroy this email and any of its attachments. WilldooIT Pty. Ltd. is not responsible for any changes made to this message and/or any attachments after sending by WilldooIT Pty. Ltd. WilldooIT Pty. Ltd. use virus scanning software but exclude all liability for virus or anything similar in this email or attachment.
From: Daniel Reis <dreis@opensourceintegrators.com>
Sent: Thursday, 24 September 2020 8:01 PM
To: Contributors <contributors@odoo-community.org>
Subject: Weird issue: database does not run testsHello, I found this issue, and it is puzzling me, so I wonder if someone out there has some idea. While creating a new module, using a dev database with demo data, at some point I added tests. However, these tests don't get to run. I'm sure their Python files are being loaded, but the test runner is not executing them. It is not like they are failing because of wrong data, They're simply not being executed, After several trial and errors, I got them running after creating a new database and running them on this database. So everything is the same: the code, the conf file, the system environment, ... But test run in database B and not in database A! Why would that be? This was using Odoo 12. Thanks for any insights Daniel Reis Open Source Integrators
_______________________________________________
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
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Miku Laitinen. - 02:01 - 24 Sep 2020 -
Re: Weird issue: database does not run tests
If a module is already installed -u works just fine. Im not sure -i even works if already installed hence the suggestion.On Thu, 24 Sep 2020, 10:42 pm Richard deMeester, <richard.demeester@willdooit.com> wrote:Oh, and tests only run when installing the module - have you used "-i module --test-entable" from the command line?
Richard deMeester
Senior Development Analyst
WilldooIT Pty Ltd
E: richard.demeester@willdooit.com
M: +61 403 76 76 76
P: +61 3 9135 1900
A: 10/435 Williamstown Road, Port Melbourne, Vic 3207
Making growth through technology easy
DISCLAIMER | This electronic message together with any attachments is confidential. If you are not the recipient, do not copy, disclose, or use the contents in any way. Please also advise us by e-mail that you have received this message in error and then please destroy this email and any of its attachments. WilldooIT Pty. Ltd. is not responsible for any changes made to this message and/or any attachments after sending by WilldooIT Pty. Ltd. WilldooIT Pty. Ltd. use virus scanning software but exclude all liability for virus or anything similar in this email or attachment.
From: Daniel Reis <dreis@opensourceintegrators.com>
Sent: Thursday, 24 September 2020 8:01 PM
To: Contributors <contributors@odoo-community.org>
Subject: Weird issue: database does not run testsHello, I found this issue, and it is puzzling me, so I wonder if someone out there has some idea. While creating a new module, using a dev database with demo data, at some point I added tests. However, these tests don't get to run. I'm sure their Python files are being loaded, but the test runner is not executing them. It is not like they are failing because of wrong data, They're simply not being executed, After several trial and errors, I got them running after creating a new database and running them on this database. So everything is the same: the code, the conf file, the system environment, ... But test run in database B and not in database A! Why would that be? This was using Odoo 12. Thanks for any insights Daniel Reis Open Source Integrators
_______________________________________________
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 Graeme Gellatly - 12:55 - 24 Sep 2020 -
Re: Weird issue: database does not run tests
Oh, and tests only run when installing the module - have you used "-i module --test-entable" from the command line?
Richard deMeester
Senior Development Analyst
WilldooIT Pty Ltd
E: richard.demeester@willdooit.com
M: +61 403 76 76 76
P: +61 3 9135 1900
A: 10/435 Williamstown Road, Port Melbourne, Vic 3207
Making growth through technology easy
DISCLAIMER | This electronic message together with any attachments is confidential. If you are not the recipient, do not copy, disclose, or use the contents in any way. Please also advise us by e-mail that you have received this message in error and then please destroy this email and any of its attachments. WilldooIT Pty. Ltd. is not responsible for any changes made to this message and/or any attachments after sending by WilldooIT Pty. Ltd. WilldooIT Pty. Ltd. use virus scanning software but exclude all liability for virus or anything similar in this email or attachment.
From: Daniel Reis <dreis@opensourceintegrators.com>
Sent: Thursday, 24 September 2020 8:01 PM
To: Contributors <contributors@odoo-community.org>
Subject: Weird issue: database does not run testsHello, I found this issue, and it is puzzling me, so I wonder if someone out there has some idea. While creating a new module, using a dev database with demo data, at some point I added tests. However, these tests don't get to run. I'm sure their Python files are being loaded, but the test runner is not executing them. It is not like they are failing because of wrong data, They're simply not being executed, After several trial and errors, I got them running after creating a new database and running them on this database. So everything is the same: the code, the conf file, the system environment, ... But test run in database B and not in database A! Why would that be? This was using Odoo 12. Thanks for any insights Daniel Reis Open Source Integrators
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Richard deMeester <richard.demeester@willdooit.com> - 12:41 - 24 Sep 2020 -
Re: Weird issue: database does not run tests
Be aware that tests only run if demodata is installed.
There is a possible switch in config file without_demo=all (or command line) - if that is there, then tests won't run.
Richard deMeester
Senior Development Analyst
WilldooIT Pty Ltd
E: richard.demeester@willdooit.com
M: +61 403 76 76 76
P: +61 3 9135 1900
A: 10/435 Williamstown Road, Port Melbourne, Vic 3207
Making growth through technology easy
DISCLAIMER | This electronic message together with any attachments is confidential. If you are not the recipient, do not copy, disclose, or use the contents in any way. Please also advise us by e-mail that you have received this message in error and then please destroy this email and any of its attachments. WilldooIT Pty. Ltd. is not responsible for any changes made to this message and/or any attachments after sending by WilldooIT Pty. Ltd. WilldooIT Pty. Ltd. use virus scanning software but exclude all liability for virus or anything similar in this email or attachment.
From: Daniel Reis <dreis@opensourceintegrators.com>
Sent: Thursday, 24 September 2020 8:01 PM
To: Contributors <contributors@odoo-community.org>
Subject: Weird issue: database does not run testsHello, I found this issue, and it is puzzling me, so I wonder if someone out there has some idea. While creating a new module, using a dev database with demo data, at some point I added tests. However, these tests don't get to run. I'm sure their Python files are being loaded, but the test runner is not executing them. It is not like they are failing because of wrong data, They're simply not being executed, After several trial and errors, I got them running after creating a new database and running them on this database. So everything is the same: the code, the conf file, the system environment, ... But test run in database B and not in database A! Why would that be? This was using Odoo 12. Thanks for any insights Daniel Reis Open Source Integrators
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Richard deMeester <richard.demeester@willdooit.com> - 12:41 - 24 Sep 2020 -
Re: Weird issue: database does not run tests
You are probably executing subsequent runs with i instead of u.On Thu, 24 Sep 2020, 10:21 pm David Beal, <david.beal@akretion.com> wrote:Hi Daniel,Have you also tried with odoo-pytest, to compare execution or not ?Le jeu. 24 sept. 2020 à 12:01, Daniel Reis <dreis@opensourceintegrators.com> a écrit :Hello, I found this issue, and it is puzzling me, so I wonder if someone out there has some idea. While creating a new module, using a dev database with demo data, at some point I added tests. However, these tests don't get to run. I'm sure their Python files are being loaded, but the test runner is not executing them. It is not like they are failing because of wrong data, They're simply not being executed, After several trial and errors, I got them running after creating a new database and running them on this database. So everything is the same: the code, the conf file, the system environment, ... But test run in database B and not in database A! Why would that be? This was using Odoo 12. Thanks for any insights Daniel Reis Open Source Integrators
_______________________________________________
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 Graeme Gellatly - 12:30 - 24 Sep 2020 -
Re: Weird issue: database does not run tests
Hi Daniel,Have you also tried with odoo-pytest, to compare execution or not ?Le jeu. 24 sept. 2020 à 12:01, Daniel Reis <dreis@opensourceintegrators.com> a écrit :Hello, I found this issue, and it is puzzling me, so I wonder if someone out there has some idea. While creating a new module, using a dev database with demo data, at some point I added tests. However, these tests don't get to run. I'm sure their Python files are being loaded, but the test runner is not executing them. It is not like they are failing because of wrong data, They're simply not being executed, After several trial and errors, I got them running after creating a new database and running them on this database. So everything is the same: the code, the conf file, the system environment, ... But test run in database B and not in database A! Why would that be? This was using Odoo 12. Thanks for any insights Daniel Reis Open Source Integrators
_______________________________________________
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 BEAL - 12:20 - 24 Sep 2020 -
Weird issue: database does not run tests
Hello, I found this issue, and it is puzzling me, so I wonder if someone out there has some idea. While creating a new module, using a dev database with demo data, at some point I added tests. However, these tests don't get to run. I'm sure their Python files are being loaded, but the test runner is not executing them. It is not like they are failing because of wrong data, They're simply not being executed, After several trial and errors, I got them running after creating a new database and running them on this database. So everything is the same: the code, the conf file, the system environment, ... But test run in database B and not in database A! Why would that be? This was using Odoo 12. Thanks for any insights Daniel Reis Open Source Integrators
by Daniel Reis - 12:01 - 24 Sep 2020 -
Re: Define permissions in website (frontend)
Hello Yves,
You can also enable authentication for specific URI in proxy configuration, depending on your target architecture it might be easier to deploy than overriding Odoo controllers but it will not be configurable by end users.
Best regards,
Rémi CAZENAVE - SCOP Le Filament
https://le-filament.com
De : Simone Orsi <simahawk@gmail.com>
Envoyé : 24 septembre 2020 08:42:05 GMT+02:00
À : Contributors <contributors@odoo-community.org>
Objet : Re: Define permissions in website (frontend)
Hello,if the goal is to simply block login, you could override the login/authenticate method and raise a proper error.If you want to block access to a specific route only, override it and raise proper exception when condition is not matched.Bests,On Wed, Sep 23, 2020 at 5:07 PM Yves Goldberg <yves@ygol.com> wrote:Hello,How would I grant access to a website but only for a res_partner fulfilling a condition?user case is publishing a list that is only accessible to partners who have "condition = True".Another option would be to have a public page protected by a single password. Maybe in a popup?Is there a module that could help? any pointer?I was thinking to get in the controller, the user's id from the session and then conditionally return the required data but maybe there is an easier way?Thank you--Yves Goldbergodoo| Official Partner - OCA delegateOpen Source ERP, CRM & CMST +972 (3) 720 8818
M +972 (55) 966 1405T +32 (2) 588 2500--_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, Freelance in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Rémi Cazenave - 09:01 - 24 Sep 2020 -
Re: Define permissions in website (frontend)
Hello,if the goal is to simply block login, you could override the login/authenticate method and raise a proper error.If you want to block access to a specific route only, override it and raise proper exception when condition is not matched.Bests,On Wed, Sep 23, 2020 at 5:07 PM Yves Goldberg <yves@ygol.com> wrote:Hello,How would I grant access to a website but only for a res_partner fulfilling a condition?user case is publishing a list that is only accessible to partners who have "condition = True".Another option would be to have a public page protected by a single password. Maybe in a popup?Is there a module that could help? any pointer?I was thinking to get in the controller, the user's id from the session and then conditionally return the required data but maybe there is an easier way?Thank you--Yves Goldbergodoo| Official Partner - OCA delegateOpen Source ERP, CRM & CMST +972 (3) 720 8818
M +972 (55) 966 1405T +32 (2) 588 2500--_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, Freelance in love with open source.
by Simone Orsi - 08:41 - 24 Sep 2020 -
Re: l10n-italy on apps.odoo.com
Ciao,this is the state of the repo on apps.odoo.com:- l10n_it_fiscal_document_type: The license LGPL-3 conflicts with one of its dependencies. Please make sure that you comply with the licenses compatibility. See our FAQ at https://apps.odoo.com/apps/faq#maintainer_faq_04 .
- fiscal_epos_print: The license GPL-3 conflicts with one of its dependencies. Please make sure that you comply with the licenses compatibility. See our FAQ at https://apps.odoo.com/apps/faq#maintainer_faq_04 .
- l10n_it_website_sale_fiscalcode: The license LGPL-3 conflicts with one of its dependencies. Please make sure that you comply with the licenses compatibility. See our FAQ at https://apps.odoo.com/apps/faq#maintainer_faq_04 .
- l10n_it_vat_statement_communication: The license LGPL-3 conflicts with one of its dependencies. Please make sure that you comply with the licenses compatibility. See our FAQ at https://apps.odoo.com/apps/faq#maintainer_faq_04 .
- l10n_it_website_sale_fatturapa is updated before its dependency l10n_it_fatturapa. Throw back to the end of the queue.
- l10n_it_pos_fatturapa is updated before its dependency l10n_it_fatturapa. Throw back to the end of the queue.
- l10n_it_fatturapa_in_purchase is updated before its dependency l10n_it_fatturapa_in. Throw back to the end of the queue.
- l10n_it_fatturapa_in_rc is updated before its dependency l10n_it_fatturapa_in. Throw back to the end of the queue.
- l10n_it_fatturapa_out_wt is updated before its dependency l10n_it_fatturapa. Throw back to the end of the queue.
- l10n_it_fatturapa_pec is updated before its dependency l10n_it_fatturapa_out. Throw back to the end of the queue.
- l10n_it_fatturapa_sale is updated before its dependency l10n_it_fatturapa. Throw back to the end of the queue.
- l10n_it_website_portal_fatturapa_sale is updated before its dependency l10n_it_website_portal_fatturapa. Throw back to the end of the queue.
- l10n_it_withholding_tax_payment is updated before its dependency l10n_it_withholding_tax. Throw back to the end of the queue.
- l10n_it_withholding_tax_causali is updated before its dependency l10n_it_withholding_tax. Throw back to the end of the queue.
- l10n_it_fatturapa_out_stamp is updated before its dependency l10n_it_fatturapa_out. Throw back to the end of the queue.
- l10n_it_website_sale_corrispettivi: unmet dependency l10n_it_website_sale_fatturapa for series 12.0. Dependency might be invalid.
- l10n_it_invoices_data_communication: unmet dependency l10n_it_fiscal_document_type for series 12.0. Dependency might be invalid.
- l10n_it_fatturapa_out is updated before its dependency l10n_it_fatturapa. Throw back to the end of the queue.
- l10n_it_website_portal_fatturapa is updated before its dependency l10n_it_fatturapa. Throw back to the end of the queue.
- l10n_it_fatturapa_out_ddt: unmet dependency l10n_it_fatturapa_out for series 12.0. Dependency might be invalid.
- l10n_it_corrispettivi_fatturapa_out: unmet dependency l10n_it_fatturapa_out for series 12.0. Dependency might be invalid.
- l10n_it_withholding_tax is updated before its dependency l10n_it_fatturapa. Throw back to the end of the queue.
- fiscal_epos_print_fiscalcode: unmet dependency fiscal_epos_print for series 12.0. Dependency might be invalid.
- l10n_it_sdi_channel is updated before its dependency l10n_it_fatturapa. Throw back to the end of the queue.
- l10n_it_fatturapa_in is updated before its dependency l10n_it_fatturapa. Throw back to the end of the queue.
- l10n_it_fatturapa: unmet dependency l10n_it_fiscal_document_type for series 12.0. Dependency might be invalid.
- l10n_it_invoices_data_communication_fatturapa: unmet dependency l10n_it_invoices_data_communication for series 12.0. Dependency might be invalid.
- l10n_it_fatturapa_export_zip: unmet dependency l10n_it_fatturapa_out for series 12.0. Dependency might be invalid.
- l10n_it_fatturapa_out_triple_discount: unmet dependency l10n_it_fatturapa_out for series 12.0. Dependency might be invalid.
CheersOn Sun, Sep 20, 2020 at 8:52 AM Lorenzo Battistini <elbaddy@gmail.com> wrote:Hi all,we should have fixed licenses issues of l10n-italy repo, but we still can't find some modules on apps.odoo.com (for v12), like l10n_it_fatturapa_pec.Can anybody check?Thanks!On Thu, 13 Feb 2020 at 09:57, Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:I'm afraid that's not possible, as Odoo Apps management doesn't allow that kind of things.Any way, you have to amend the license problem, and then it will come out on the daily scan.Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Lorenzo Battistini
https://github.com/eLBati_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, Freelance in love with open source.
by Simone Orsi - 08:36 - 24 Sep 2020 -
Re: l10n-italy on apps.odoo.com
Hi. this is the current status for italy repos:
Thanks
Daniel
On 23/09/2020 17:36, Andrea Cometa - Apulia Software srl wrote:
Please, could someone check?
Il 20/09/20 08:52, Lorenzo Battistini ha scritto:
Hi all,
we should have fixed licenses issues of l10n-italy repo, but we still can't find some modules on apps.odoo.com (for v12), like l10n_it_fatturapa_pec.
Can anybody check?
Thanks!
On Thu, 13 Feb 2020 at 09:57, Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:
I'm afraid that's not possible, as Odoo Apps management doesn't allow that kind of things.
Any way, you have to amend the license problem, and then it will come out on the daily scan.
Regards.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Lorenzo Battistini
https://github.com/eLBati_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Andrea Cometa - Presidente Associazione Odoo Italia
Apulia Software srl - Responsabile Commerciale ed Amministrativo
Taranto / Milano / Potenza
Tel: 0999915404 http://www.apuliasoftware.it
a.cometa@apuliasoftware.it pec: apulia.software@pec.it
linkedin: http://it.linkedin.com/in/andreacometa_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Daniel Reis - 08:01 - 23 Sep 2020