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: emergency maintenance on OCA server
Thank you very much for the work, Alexandre.It seems that runboat and the OCA bot still have some problems. Can you please check?Regards.
by Pedro M. Baeza - 09:00 - 17 Nov 2023 -
Re: New way to create repositories and add maintainers
Thanks for this.Question: is it scheduled to have a mechanism to warn current PSC members of new members application?ThanksLe jeu. 16 nov. 2023, 22:58, Enric Tobella Alomar <notifications@odoo-community.org> a écrit :Hello Community,On the last weeks, Simone and myself have been working on a new tool that can be used to create repositoires and add maintainers. Right now, everything will be managed inside Github: https://github.com/OCA/repo-maintainer-conf/So, if you want to add yourself as a PSC, you just need to find the PSC team on https://github.com/OCA/repo-maintainer-conf/tree/master/conf/psc and add your github token with a Pull Request. Once it is merged, you will be added as PSC.Also, you can ask for the creation of a new repo and even change the default branch of the repo there. For example: https://github.com/OCA/repo-maintainer-conf/blob/master/conf/repo/account.yml#L1-L18This will improve the transparency and clean-up the management of it.I hope you all enjoy the changes.Kind regards,_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Denis Roussel - 08:56 - 17 Nov 2023 -
Re: New way to create repositories and add maintainers
Thank you very much!Sergio CoratoIl giorno ven 17 nov 2023 alle ore 07:32 Mignon, Laurent <notifications@odoo-community.org> ha scritto:Thank you Enric and Simone!On Thu, Nov 16, 2023 at 10:58 PM Enric Tobella Alomar <notifications@odoo-community.org> wrote:Hello Community,On the last weeks, Simone and myself have been working on a new tool that can be used to create repositoires and add maintainers. Right now, everything will be managed inside Github: https://github.com/OCA/repo-maintainer-conf/So, if you want to add yourself as a PSC, you just need to find the PSC team on https://github.com/OCA/repo-maintainer-conf/tree/master/conf/psc and add your github token with a Pull Request. Once it is merged, you will be added as PSC.Also, you can ask for the creation of a new repo and even change the default branch of the repo there. For example: https://github.com/OCA/repo-maintainer-conf/blob/master/conf/repo/account.yml#L1-L18This will improve the transparency and clean-up the management of it.I hope you all enjoy the changes.Kind regards,_______________________________________________
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 Sergio Corato - 08:06 - 17 Nov 2023 -
Re: New way to create repositories and add maintainers
Thank you Enric and Simone!On Thu, Nov 16, 2023 at 10:58 PM Enric Tobella Alomar <notifications@odoo-community.org> wrote:Hello Community,On the last weeks, Simone and myself have been working on a new tool that can be used to create repositoires and add maintainers. Right now, everything will be managed inside Github: https://github.com/OCA/repo-maintainer-conf/So, if you want to add yourself as a PSC, you just need to find the PSC team on https://github.com/OCA/repo-maintainer-conf/tree/master/conf/psc and add your github token with a Pull Request. Once it is merged, you will be added as PSC.Also, you can ask for the creation of a new repo and even change the default branch of the repo there. For example: https://github.com/OCA/repo-maintainer-conf/blob/master/conf/repo/account.yml#L1-L18This will improve the transparency and clean-up the management of it.I hope you all enjoy the changes.Kind regards,_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Laurent Mignon - 07:30 - 17 Nov 2023 -
Re: New way to create repositories and add maintainers
Thank you very much for this improved flow!Is there a permanent page in OCA website for this as reference?Regards.El jue., 16 nov. 2023 22:58, Enric Tobella Alomar <notifications@odoo-community.org> escribió:Hello Community,On the last weeks, Simone and myself have been working on a new tool that can be used to create repositoires and add maintainers. Right now, everything will be managed inside Github: https://github.com/OCA/repo-maintainer-conf/So, if you want to add yourself as a PSC, you just need to find the PSC team on https://github.com/OCA/repo-maintainer-conf/tree/master/conf/psc and add your github token with a Pull Request. Once it is merged, you will be added as PSC.Also, you can ask for the creation of a new repo and even change the default branch of the repo there. For example: https://github.com/OCA/repo-maintainer-conf/blob/master/conf/repo/account.yml#L1-L18This will improve the transparency and clean-up the management of it.I hope you all enjoy the changes.Kind regards,_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Pedro M. Baeza - 12:24 - 17 Nov 2023 -
Operating unit
HiI have installedaccount_operating_unit , operating_unit and product_operating_unitThe description of the modules says "Product and customer independence of OU."YesI can see the independence of the products: if an OU1 user created a product, an OU2 user will not see it.But the same is not happening with the Customers, it seems customers are global over OUs. If an OU1 user created a customer, an OU2 user can see it.How to achieve the independence of customers?Regards
by Ahmed - 11:52 - 16 Nov 2023 -
Re: emergency maintenance on OCA server
I'm sorry to say this took longer than expected, but the server is now back to normal (hopefully). Most services seem to have restarted automatically, I had to restart weblate manually, it seems to be catching up but the web interface currently displays a 502. I'll check this tomorrow morning. Thanks for your patience -- Alexandre "gurneyalex" Fayolle On 16/11/2023 12:58, Alexandre Fayolle wrote: > Hello everyone, > > We have a faulty disk on the OCA server. I opened a support issue to get > it replaced in the datacenter. This will result in a downtime of the > server, and possibly some degraded performance while the RAID arrays get > rebuild. > > Impacted services: > > * our Odoo instance > * our webite > * the translation platform > * the OCA gitbot > > I'll keep you posted when we have more information about the time of the > intervention. > > We thank you for your understanding. > > -- Alexandre Fayolle Senior Software Engineer Tel : +33 4 58 48 20 30 Camptocamp France SAS 18 rue du Lac Saint André 73 370 Le Bourget-du-Lac France http://www.camptocamp.com
by Alexandre Fayolle - 11:44 - 16 Nov 2023 -
New way to create repositories and add maintainers
Hello Community,On the last weeks, Simone and myself have been working on a new tool that can be used to create repositoires and add maintainers. Right now, everything will be managed inside Github: https://github.com/OCA/repo-maintainer-conf/So, if you want to add yourself as a PSC, you just need to find the PSC team on https://github.com/OCA/repo-maintainer-conf/tree/master/conf/psc and add your github token with a Pull Request. Once it is merged, you will be added as PSC.Also, you can ask for the creation of a new repo and even change the default branch of the repo there. For example: https://github.com/OCA/repo-maintainer-conf/blob/master/conf/repo/account.yml#L1-L18This will improve the transparency and clean-up the management of it.I hope you all enjoy the changes.Kind regards,
by Enric Tobella Alomar - 10:57 - 16 Nov 2023 -
Re: emergency maintenance on OCA server
Normally we have a backup using the runboat server. It's a long time since I checked these, though, I should probably do so. Hetzner apparently took action without sending me a notification besides the automated email ACK and the server is currently unreachable. Fingers crossed on this one... On 16/11/2023 13:27, Frederik Kramer wrote: > Hi Alex, > > thanks for the information. Hetzner is usually quite fast on these ones. > So i am not too worried. Just for curiosity, do we have an offsite > Backup or at least an encrypted backup on a Hetzner Backup Instance ? > > Best Frederik > > Am 16.11.23 um 13:02 schrieb Alexandre Fayolle: >> Hello everyone, >> >> We have a faulty disk on the OCA server. I opened a support issue to get >> it replaced in the datacenter. This will result in a downtime of the >> server, and possibly some degraded performance while the RAID arrays get >> rebuild. >> >> Impacted services: >> >> * our Odoo instance >> * our webite >> * the translation platform >> * the OCA gitbot >> >> I'll keep you posted when we have more information about the time of the >> intervention. >> >> We thank you for your understanding. >> >> >> -- Alexandre Fayolle Senior Software Engineer Tel : +33 4 58 48 20 30 >> Camptocamp France SAS 18 rue du Lac Saint André 73 370 Le >> Bourget-du-Lac France http://www.camptocamp.com >> <http://www.camptocamp.com> >> >> _______________________________________________ >> Mailing-List: https://odoo-community.org/groups/contributors-15 >> <https://odoo-community.org/groups/contributors-15> >> Post to: mailto:contributors@odoo-community.org >> <mailto:contributors@odoo-community.org> >> Unsubscribe: https://odoo-community.org/groups?unsubscribe >> <https://odoo-community.org/groups?unsubscribe> >> > -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH Innungsstraße 7 > 21244 Buchholz i.d.N. Tel: +49 (0) 4181 13503 12 Fax: +49 (0) 4181 13503 > 10 Mobil: +49 (0) 179 3901819 Email: frederik.kramer@initos.com <mailto:frederik.kramer@initos.com> > Internet:www.initos.com <http://www.initos.com> > > Geschäftsführung: > Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke > > Sitz der Gesellschaft: Buchholz i.d.N. > Amtsgericht Tostedt, HRB 205226 > USt-IdNr.: DE815580155 > Steuer-Nr: 15/200/53247 > > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > <https://odoo-community.org/groups/contributors-15> > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe > <https://odoo-community.org/groups?unsubscribe> > -- Alexandre Fayolle Senior Software Engineer Tel : +33 4 58 48 20 30 Camptocamp France SAS 18 rue du Lac Saint André 73 370 Le Bourget-du-Lac France http://www.camptocamp.com
by Alexandre Fayolle - 10:56 - 16 Nov 2023 -
Re: emergency maintenance on OCA server
Hi Alex,
thanks for the information. Hetzner is usually quite fast on these ones. So i am not too worried. Just for curiosity, do we have an offsite Backup or at least an encrypted backup on a Hetzner Backup Instance ?
Best Frederik
Am 16.11.23 um 13:02 schrieb Alexandre Fayolle:
Hello everyone, We have a faulty disk on the OCA server. I opened a support issue to get it replaced in the datacenter. This will result in a downtime of the server, and possibly some degraded performance while the RAID arrays get rebuild. Impacted services: * our Odoo instance * our webite * the translation platform * the OCA gitbot I'll keep you posted when we have more information about the time of the intervention. We thank you for your understanding. -- Alexandre Fayolle Senior Software Engineer Tel : +33 4 58 48 20 30 Camptocamp France SAS 18 rue du Lac Saint André 73 370 Le Bourget-du-Lac France http://www.camptocamp.com_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
-- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH Innungsstraße 7 21244 Buchholz i.d.N. Tel: +49 (0) 4181 13503 12 Fax: +49 (0) 4181 13503 10 Mobil: +49 (0) 179 3901819 Email: frederik.kramer@initos.com Internet: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Buchholz i.d.N. Amtsgericht Tostedt, HRB 205226 USt-IdNr.: DE815580155 Steuer-Nr: 15/200/53247
by Frederik Kramer - 01:26 - 16 Nov 2023 -
emergency maintenance on OCA server
Hello everyone, We have a faulty disk on the OCA server. I opened a support issue to get it replaced in the datacenter. This will result in a downtime of the server, and possibly some degraded performance while the RAID arrays get rebuild. Impacted services: * our Odoo instance * our webite * the translation platform * the OCA gitbot I'll keep you posted when we have more information about the time of the intervention. We thank you for your understanding. -- Alexandre Fayolle Senior Software Engineer Tel : +33 4 58 48 20 30 Camptocamp France SAS 18 rue du Lac Saint André 73 370 Le Bourget-du-Lac France http://www.camptocamp.com
by Alexandre Fayolle - 01:01 - 16 Nov 2023 -
Re: Manual Currency Conversion Bank Transaction
You need to use the bank-statement-import modules that you can find onIf the format is related to a localizatiion configuration, the exact module might be on the localization repoistory.Kind regards,El jue, 16 nov 2023 a las 9:26, Lansana Barry Sow (<notifications@odoo-community.org>) escribió:Hi everyone,I have the case of a client who wants that when importing a bank statement, in the reconciliation of movements thanks to the `account_reconciliation_widget` module, he can determine the rate that he agreed with his bank and not the one offered by Odoo.I'm surprised that there is no module for this, since it is very common.
I am trying to develop the functionality, but it is a bit complex to avoid the odoo rate and make everything add up in the end, since the rate calculation is repeated in several places.Any ideas or suggestions?Greetings and thank you very much,/Lansana Barry_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Enric Tobella AlomarCEO & Founder
by Enric Tobella Alomar - 09:36 - 16 Nov 2023 -
Manual Currency Conversion Bank Transaction
Hi everyone,I have the case of a client who wants that when importing a bank statement, in the reconciliation of movements thanks to the `account_reconciliation_widget` module, he can determine the rate that he agreed with his bank and not the one offered by Odoo.I'm surprised that there is no module for this, since it is very common.
I am trying to develop the functionality, but it is a bit complex to avoid the odoo rate and make everything add up in the end, since the rate calculation is repeated in several places.Any ideas or suggestions?Greetings and thank you very much,/Lansana Barry
by Lansana Barry - 09:25 - 16 Nov 2023 -
Re: Odoo Test framework and rollback issue
Hi,In Odoo 14, you should append self.cr.savepoint() when you want to add additional tests after the assertRaises. It's required to restore the db cursor, the environment and the cache at the state prior to the exception. You should also question why you want to add additional tests after this assertion? Maybe they can be put into another specific test method. In Odoo 16 (at least), odoo overrides the assertRaises method to add the call to the savepoint and ensures a cleanup of the environment. https://github.com/odoo/odoo/blob/16.0/odoo/tests/common.py#L367Regards,lmiOn Wed, Nov 15, 2023 at 6:24 PM Yann Papouin <notifications@odoo-community.org> wrote:Hi everyone,I'm currently developing on 14.0 a test for one of my module and I'm having a headache trying to understand why an action is not properly rolled back after the exception is raised.My code sample:class TestSoftwareLicensePass(TransactionCase):
def test_activation(self):
...
self.assertEqual(pass_lic1.get_remaining_activation(), 1)
with self.assertRaisesRegex(ValidationError, r"Max activation reached"):
pass_lic1.activate("device_uuid_4/3")
self.assertEqual(pass_lic1.get_remaining_activation(), 1)
with self.assertRaisesRegex(ValidationError, r"Max activation reached"):
pass_lic1.activate("device_uuid_4/3")The second assertEqual statement FAILS because get_remaining_activation() returns 0, but since the exception has been correctly captured by the with self.assertRaisesRegex statement, this part should have been rolled back by the odoo framework.(and no cr.commit in the activate function)Looking in other tests, I can see that a lot of with self.assert statements have a self.cr.savepoint() at their side (like this code sample in odoo/odoo/addons/base/tests/test_views.py):
class TestViewInheritance(ViewCase):def test_no_recursion(self):
r1 = self.makeView('R1')
with self.assertRaises(ValidationError), self.cr.savepoint():
r1.write({'inherit_id': r1.id})Is this related to the TransactionCase class ? (Probably not, I made a test with SavepointCase and same issue)Should I always append self.cr.savepoint() ?Yann._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Laurent Mignon - 08:51 - 16 Nov 2023 -
Re: Sale/invoice report break page
Hey Pierre,
only thing I know is that it's possible to manually add "page-break-before: always;" to certain elements. So once you know how many rows fit on a page, you could adjust the QWEB generation to add page breaks at the right places. This doesn't take into account page margins however, so probably your way is better.
-Tom
On 11/15/23 11:38, Pierre Verkest wrote:
Dear community,
One of my customers using odoo 14.0 needs to get the control where page breaks appear in pdf reports on quotations and invoice documents.
Do you know any existing modules to do that ?
As sections are table rows it's not as easy to add apage-break-inside: avoid;on a html block and would not fit all corner cases. So I'm going to add a link button (such as the add section) that will add a new kind of row to manage the break page in reports.
This probably ends up with 3 modules:
base_breakpage in oca/reporting-enginesale_report_breakpage in oca/sale-reportingaccount_invoice_report_breakpage in oca/account-invoice-reporting
Any hints on that ?regards
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Tom Blauwendraat - 07:47 - 15 Nov 2023 -
Re: Odoo Test framework and rollback issue
It's just a problem with how Odoo handles rollbacks and savepoints in tests. The thumb rule is to not do anything more after testing a raise. Do it in another test method.Regards.
by Pedro M. Baeza - 07:47 - 15 Nov 2023 -
Odoo Test framework and rollback issue
Hi everyone,I'm currently developing on 14.0 a test for one of my module and I'm having a headache trying to understand why an action is not properly rolled back after the exception is raised.My code sample:class TestSoftwareLicensePass(TransactionCase):
def test_activation(self):
...
self.assertEqual(pass_lic1.get_remaining_activation(), 1)
with self.assertRaisesRegex(ValidationError, r"Max activation reached"):
pass_lic1.activate("device_uuid_4/3")
self.assertEqual(pass_lic1.get_remaining_activation(), 1)
with self.assertRaisesRegex(ValidationError, r"Max activation reached"):
pass_lic1.activate("device_uuid_4/3")The second assertEqual statement FAILS because get_remaining_activation() returns 0, but since the exception has been correctly captured by the with self.assertRaisesRegex statement, this part should have been rolled back by the odoo framework.(and no cr.commit in the activate function)Looking in other tests, I can see that a lot of with self.assert statements have a self.cr.savepoint() at their side (like this code sample in odoo/odoo/addons/base/tests/test_views.py):
class TestViewInheritance(ViewCase):def test_no_recursion(self):
r1 = self.makeView('R1')
with self.assertRaises(ValidationError), self.cr.savepoint():
r1.write({'inherit_id': r1.id})Is this related to the TransactionCase class ? (Probably not, I made a test with SavepointCase and same issue)Should I always append self.cr.savepoint() ?Yann.
by Yann Papouin - 06:16 - 15 Nov 2023 -
Sale/invoice report break page
Dear community,One of my customers using odoo 14.0 needs to get the control where page breaks appear in pdf reports on quotations and invoice documents.Do you know any existing modules to do that ?As sections are table rows it's not as easy to add apage-break-inside: avoid;on a html block and would not fit all corner cases. So I'm going to add a link button (such as the add section) that will add a new kind of row to manage the break page in reports.This probably ends up with 3 modules:base_breakpage in oca/reporting-enginesale_report_breakpage in oca/sale-reportingaccount_invoice_report_breakpage in oca/account-invoice-reportingAny hints on that ?regards
by Pierre Verkest - 11:36 - 15 Nov 2023 -
Re: unit price precision based on product UOM category selected
Il giorno mer 15 nov 2023 alle ore 09:22 Yves Goldberg <notifications@odoo-community.org> ha scritto:Hi,Is there a module that can help me with the following?use case: change the unit price precision based on the selected product's uom (or product category's uom)I add to a SO, invoice, PO:- a 1st line with an article with a UOM of type "energy" and this would allow me to specify the unit price with 4 digits- a 2nd line with an article with a UOM of type "unit" and this would allow me to specify the unit price with default 2 digits.Thank you--Yves Goldberg--_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
by Francesco Foresti - 09:31 - 15 Nov 2023 -
unit price precision based on product UOM category selected
Hi,Is there a module that can help me with the following?use case: change the unit price precision based on the selected product's uom (or product category's uom)I add to a SO, invoice, PO:- a 1st line with an article with a UOM of type "energy" and this would allow me to specify the unit price with 4 digits- a 2nd line with an article with a UOM of type "unit" and this would allow me to specify the unit price with default 2 digits.Thank you--Yves Goldberg--
by Yves Goldberg - 09:21 - 15 Nov 2023