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
-
cancel state on account.move
Dear OCA friends,Up to Odoo v12, the "state" of an account.move had 2 possible values : "draft" and "posted".Starting from Odoo v13, the "state" field has one more possible value : "cancel". I hate that, but it's a fact :(The problem is : how should we handle these "cancel" moves. In several wizards/models, we give the user the choice between "posted moves only" and "all moves" ; does "all moves" means draft+posted or draft+posted+cancel ? Maybe a developer would consider that "all moves" means draft+posted+cancel, but a user often considers that cancelled moves should never be taken into account and "all moves" means draft+posted.Here is a summary of the situation on Odoo v14 in different modules :- account_financial_report : when the user selects "All entries", Odoo takes draft+posted
- sale and purchase : the "Invoiced qty" on the sale.order.line/purchase.order.line doesn't take into account the cancelled invoices (it only takes draft and posted invoices)
- l10n_fr_fec : when the user selects "Non-official FEC report (posted and unposted entries)", Odoo takes draft+posted+cancel
- lock dates : odoo allows to have moves with state="cancel" in a locked period (but moves in draft state are not allowed)
So the majority of modules considers that "all moves" means "draft + posted" and excludes "cancel" state. The fact that Odoo accepts cancel entries in a locked period confirms that cancelled moves should always be ignored, even when Odoo says "all entries".I think l10n_fr_fec should be fixed to adopt this behavior (I can make a PR for l10n_fr_fec_oca).The OCA modules account_cutoff_xxx from https://github.com/OCA/account-closing don't even have a field to say if you should select "all moves" (draft + posted) or "posted moves only" (at the moment, it takes all moves including cancelled moves). I'll make a PR to fix this.Do you know other modules that should be fixed on this ?For v16, maybe we should switch from the term "All entries" to "Draft and Posted entries"... what do you think ?
--Alexis de Lattre
by Alexis de Lattre - 03:55 - 6 Oct 2022 -
Re: Perhaps an Odoo Performance Issue ?!
As a workaround, stop doing a lot of exports including the XML-ID (being export-import compatible). And anyway, it shouldn't be very frequent to remove records to have such problems: you don't delete sale.order, product.product and so on. Maybe res.partner as deduplication processes. But then go again to the point 1 of my suggestion.Regards.
by Pedro M. Baeza - 03:16 - 6 Oct 2022 -
Re: Currency Rate Update add CBRT (TCMB)
Hi,
try reading here: https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst
Best regards,
Radovan Skolnik
On štvrtok 6. októbra 2022 14:42:13 CEST Rasard Teknoloji wrote:
> Hello everyone,
>
>
> We are working on the Currency Rate Update module
> https://apps.odoo.com/apps/modules/15.0/currency_rate_update/
>
>
> We added the CBRT (The Central Bank of the Republic of Turkey) feature to
> the Module.
>
>
> How we can release this feature in the current module? Could we merge or
> could we release it separately?
>
>
> Thank You,
>
>
> Ramazan Subasi
>
>
> rasard.com
> ramazan@rasard.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 Radovan Skolnik - 03:06 - 6 Oct 2022 -
Currency Rate Update add CBRT (TCMB)
Hello everyone,We are working on the Currency Rate Update module
https://apps.odoo.com/apps/modules/15.0/currency_rate_update/We added the CBRT (The Central Bank of the Republic of Turkey) feature to the Module.How we can release this feature in the current module? Could we merge or could we release it separately?Thank You,
Ramazan Subasi
by "Rasard Teknoloji" <info@rasard.com> - 02:41 - 6 Oct 2022 -
Re: solution for audit compliant storage of documents for dematerialized document
Hi Alexandre,
I have a similar request. Specifically, the request is to meet the following french legislation:Article L243-16 - Code de la sécurité sociale - Légifrance (legifrance.gouv.fr)
Article A102 B-2 - Livre des procédures fiscales - Légifrance (legifrance.gouv.fr)
For the moment, we don't know yet if we will be able to realize something directly in Odoo or if we will have to interface with a service proposed by companies like universign, certeurope, certigna (we haven't checked the services of Lex Persona for the moment). The French legislation is a bit vague from my point of view.
We can discuss this next week in Liege or Brussels if you want.Regards,AdrienOn Wed, Oct 5, 2022 at 3:11 PM Alexandre Fayolle <notifications@odoo-community.org> wrote:Hello, A customer of mine is asking if the storage of Documents is compliant with the various audit requirements (inalterability, etc). I don't think the standard (even in EE) can take care of this. But maybe I'm wrong. I see requirements such as """ technical procedures, such as electronic signatures, must be used to ensure the integrity of the recorded information. The time at which the information was recorded must be verifiable without any possibility of falsification (e.g. by time stamping). Information such as protocols, log files, etc. must also be retained. """ Has anyone implemented something similar and would be willing to share experience? -- 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
by Adrien Peiffer - 09:46 - 6 Oct 2022 -
Re: solution for audit compliant storage of documents for dematerialized document
Hello Alexandre,We are developing a connector to Lex Persona which can eidas sign documents (pdf, ms office or xml)It's almost finished.The user can launch a signature workflow from any object that inherits mail.thread.If you're interested, I can share our workBest regardsLe mer. 5 oct. 2022, 03:11, Alexandre Fayolle <notifications@odoo-community.org> a écrit :Hello, A customer of mine is asking if the storage of Documents is compliant with the various audit requirements (inalterability, etc). I don't think the standard (even in EE) can take care of this. But maybe I'm wrong. I see requirements such as """ technical procedures, such as electronic signatures, must be used to ensure the integrity of the recorded information. The time at which the information was recorded must be verifiable without any possibility of falsification (e.g. by time stamping). Information such as protocols, log files, etc. must also be retained. """ Has anyone implemented something similar and would be willing to share experience? -- 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
by Cyril VINH-TUNG - 05:41 - 5 Oct 2022 -
Re: Proposing myself as banking-maintainers PSC
+1El mié, 5 oct 2022 15:42, Sergio Corato <notifications@odoo-community.org> escribió:+1Sergio CoratoIl giorno mer 5 ott 2022 alle ore 15:01 Rafael Blasco <notifications@odoo-community.org> ha scritto:Dear contributors,
I would like to apply as PSC for banking-maintainers
I have been working with Odoo in Accounting and Payment, Banking as long as my mind remember, and my stack of well-known modules is big.
I have reviewed and implemented quite lot of modules under this umbrella like *import_paypal, import_txt_xls, import_online* , etc.. , design, review and contribute in *mandate, *sepa*, account_payment_mode and all the set of modules around… (*_order, *:_order_return, etc.). Playing a lot to with reconcile and payment.
I’m already PSC of other repositories including accounting and I think I can help in accounting staff, as you know, reviewing functionally, testing, and organizing.
Thanks to consider my request
Regards,
Rafael Blasco
PD: Let’s go for OCA Odoo 16! 😃I sadly won’t be presencially in OCA Days but I’ll be strongly online!!!
_______________________________________________
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 Fernando La Chica - 04:51 - 5 Oct 2022 -
Re: solution for audit compliant storage of documents for dematerialized document
Hi Alex,not within the standards of odoo, in particular not with it's ability to alter anything anytime in postgres (pSQL) and the way the documents are stored.We always use a document management system to fulfil what shall be holding up with compliance. If this a feasible solution for your project , let me know, and I can fill you in then.Together with all the requirements, including DigSig there. Which is often not enough to really prove unaltered records, as the time base and signature provider comes into play, too. We have done a particular Public Sector project in 2001/2 with qualified DigSig in Germany (waybill for hazardous transports) and learned it that way.Greeting to LucBest JoeVon: "Alexandre Fayolle" <notifications@odoo-community.org>
An: "Odoo Community Association, (OCA) Contributors" <contributors@odoo-community.org>
Gesendet: Mittwoch, 5. Oktober 2022 15:11:58
Betreff: solution for audit compliant storage of documents for dematerialized documentHello, A customer of mine is asking if the storage of Documents is compliant with the various audit requirements (inalterability, etc). I don't think the standard (even in EE) can take care of this. But maybe I'm wrong. I see requirements such as """ technical procedures, such as electronic signatures, must be used to ensure the integrity of the recorded information. The time at which the information was recorded must be verifiable without any possibility of falsification (e.g. by time stamping). Information such as protocols, log files, etc. must also be retained. """ Has anyone implemented something similar and would be willing to share experience? -- 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
by Joerg Lorenz. - 03:46 - 5 Oct 2022 -
Re: Proposing myself as banking-maintainers PSC
+1Sergio CoratoIl giorno mer 5 ott 2022 alle ore 15:01 Rafael Blasco <notifications@odoo-community.org> ha scritto:Dear contributors,
I would like to apply as PSC for banking-maintainers
I have been working with Odoo in Accounting and Payment, Banking as long as my mind remember, and my stack of well-known modules is big.
I have reviewed and implemented quite lot of modules under this umbrella like *import_paypal, import_txt_xls, import_online* , etc.. , design, review and contribute in *mandate, *sepa*, account_payment_mode and all the set of modules around… (*_order, *:_order_return, etc.). Playing a lot to with reconcile and payment.
I’m already PSC of other repositories including accounting and I think I can help in accounting staff, as you know, reviewing functionally, testing, and organizing.
Thanks to consider my request
Regards,
Rafael Blasco
PD: Let’s go for OCA Odoo 16! 😃I sadly won’t be presencially in OCA Days but I’ll be strongly online!!!
_______________________________________________
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 - 03:41 - 5 Oct 2022 -
Re: solution for audit compliant storage of documents for dematerialized document
Hi Alex,
having dealt with that very requirement quite often and from a different angle, i would agree and say "no". However, there is more than one law that is relevant here (at least in the German case). Thinks that i am immediately aware of (but that may or may not apply to specific companies) are (but certainy not limited to).
- GoBD, HGB
- KassenSichV
- ProduktHaftG
- KontraG
- Basel3
- Kritis
- IDW
in U.S. additionally
- SOX
The most important requirement ist the digitally immutable "original" at the time of creation. So this is something that would require (in Europe and according to the most contemporary law) and eIDAS conform signature. I heard people wispering that this will probably be part of Odoo v16 EE (but lets see).
But even if you have eIDAS there is much more requirements to be fulfilled than only this. Maybe we can have a small discussion on that in Liege next week. As i said i am very much intersted in the topic as well and its gonna be more and more important
Best Frederik
Am 05.10.22 um 15:11 schrieb Alexandre Fayolle:
Hello, A customer of mine is asking if the storage of Documents is compliant with the various audit requirements (inalterability, etc). I don't think the standard (even in EE) can take care of this. But maybe I'm wrong. I see requirements such as """ technical procedures, such as electronic signatures, must be used to ensure the integrity of the recorded information. The time at which the information was recorded must be verifiable without any possibility of falsification (e.g. by time stamping). Information such as protocols, log files, etc. must also be retained. """ Has anyone implemented something similar and would be willing to share experience? -- 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. Phone: +49 4181 13503-12 Fax: +49 4181 13503-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: 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 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
by Frederik Kramer - 03:35 - 5 Oct 2022 -
solution for audit compliant storage of documents for dematerialized document
Hello, A customer of mine is asking if the storage of Documents is compliant with the various audit requirements (inalterability, etc). I don't think the standard (even in EE) can take care of this. But maybe I'm wrong. I see requirements such as """ technical procedures, such as electronic signatures, must be used to ensure the integrity of the recorded information. The time at which the information was recorded must be verifiable without any possibility of falsification (e.g. by time stamping). Information such as protocols, log files, etc. must also be retained. """ Has anyone implemented something similar and would be willing to share experience? -- 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 - 03:06 - 5 Oct 2022 -
Re: Perhaps an Odoo Performance Issue ?!
> Is this really necessary to invalid all ir.qweb, ir.model.access data, when > I just change one default value of a user, or delete one IrModelData entry > ? no > Is there a way to change this behavior ? you can start at https://github.com/OCA/OCB/blob/15.0/odoo/modules/registry.py#L557 and try to detect there what cache you actually need to clear. But note this is tricky, as you'd also have to instruct other workers to only selectively clear their caches. Very error prone. -- Your partner for the hard Odoo problems https://hunki-enterprises.com
by "Holger Brunn" <mail@hunki-enterprises.nl> - 03:01 - 5 Oct 2022 -
Proposing myself as banking-maintainers PSC
Dear contributors,
I would like to apply as PSC for banking-maintainers
I have been working with Odoo in Accounting and Payment, Banking as long as my mind remember, and my stack of well-known modules is big.
I have reviewed and implemented quite lot of modules under this umbrella like *import_paypal, import_txt_xls, import_online* , etc.. , design, review and contribute in *mandate, *sepa*, account_payment_mode and all the set of modules around… (*_order, *:_order_return, etc.). Playing a lot to with reconcile and payment.
I’m already PSC of other repositories including accounting and I think I can help in accounting staff, as you know, reviewing functionally, testing, and organizing.
Thanks to consider my request
Regards,
Rafael Blasco
PD: Let’s go for OCA Odoo 16! 😃I sadly won’t be presencially in OCA Days but I’ll be strongly online!!!
by Rafael Blasco (Moduon) - 03:01 - 5 Oct 2022 -
Re: Perhaps an Odoo Performance Issue ?!
Hi StefanYes, you are correct.I have created the following issue related toFor v16.0 they have worked to improve this:---For old versions we had headaches to have gtmetrix green for our production customersMoisés López CalderónMobile: (+521) 477-752-22-30Twitter: @moylop260Twitter: @vauxoo
by Moisés López Calderón - 02:51 - 5 Oct 2022 -
Perhaps an Odoo Performance Issue ?!
Dear all OCAler,
I have noticed a performance behavior with Odoo, and want to clarify if I am wrong, or not :)
In my opinion, Odoo clears too often the complete LRU Cache. So all ir.qweb, ir.model.access, and so on, has to be reloaded.
In that case, you find the Log message: "At least one model cache has been invalidated, signaling through the database."
Here just two examples when this happens:
- Deleting a record which has got an IrModelData Entry e.g. through exporting
https://github.com/odoo/odoo/blob/c9609c62efe163901f8c2b1a30355b60dd34ad51/odoo/models.py#L3695
https://github.com/odoo/odoo/blob/c9609c62efe163901f8c2b1a30355b60dd34ad51/odoo/addons/base/models/ir_model.py#L1968
- Changing a user-defined default value
https://github.com/odoo/odoo/blob/c9609c62efe163901f8c2b1a30355b60dd34ad51/odoo/addons/base/models/ir_default.py#L32
In our scenario( ~1.000.000 Sale Orders, ~350 Modules installed), this results, that an F5 Browser Refresh need's ~5 seconds.
Without clearing the LRU Cache, the reload is done in < 1 second.
My question:
Is this really necessary to invalid all ir.qweb, ir.model.access data, when I just change one default value of a user, or delete one IrModelData entry ?
Is there a way to change this behavior ?
Thank you all and Best regards,
Stefan
Vielen Dank und viele Grüße
Stefan Wild
Geschäftsführersewisoft GmbH
Örtleinsweg 39
96148 Baunach
info@sewisoft.de
Tel. +49 (0) 160 / 99 11 25 69
www.sewisoft.deSitz der Gesellschaft: Baunach
Registergericht: Amtsgericht Bamberg, HRB 8508
Geschäftsführer: Günter Selbert, Stefan Wild
by Stefan Wild - 02:31 - 5 Oct 2022 -
Re: Odoo Show
> Thumbs up for sharing in the OCA and maybe doing a small lightning talk during the OCA event. What do you think?I'd wish to! But I'll be joining the Owl course in Brussels those days :( Anyway, I can record a small video if I can find the time...El mié, 5 oct 2022 a las 12:01, Frederik Kramer (<notifications@odoo-community.org>) escribió:HI David,
that is pretty useful. Finally we can get rid of PGAdmin then ;-) at least for the report and display part.
Thumbs up for sharing in the OCA and maybe doing a small lightning talk during the OCA event. What do you think?
Best Frederik
Am 05.10.22 um 00:02 schrieb David Vidal:
I have been working for fun on this little tool (https://github.com/chienandalu/odooshow) to facilitate the inspection of the data of a recordset. Any time you're into the Odoo shell either debugging any process or entering the console in a production instance we can import the show method of the library and we will see a table with the default tree fields for that record. Something like this:
Even more, you'll get links to the records urls so you can inspect them directly in the browser! (only in consoles that support console links).
By adding more attributes we can create more complex views by deciding which fields to show, grouping the records, etc. I'm working on documentation, for the moment you can see the code itself ;)
You can see a demo here -> https://asciinema.org/a/525597
There's also limited support for OdooRPC, but some special cases need to be covered.
To render the tables, I'm using the fantastic rich (https://github.com/Textualize/rich) which I can't stop recommending to everyone :)
I hope you enjoy it! (PRs and issues are welcome :))
David
_______________________________________________
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. Phone: +49 4181 13503-12 Fax: +49 4181 13503-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: 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 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
_______________________________________________
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 Vidal - 02:01 - 5 Oct 2022 -
Re: Odoo Show
Thanks for the fix, Simon :DEl mié, 5 oct 2022 a las 10:47, Simon Maillard (<notifications@odoo-community.org>) escribió:On 05/10/2022 00:02, David Vidal wrote: > I have been working for fun on this little tool > (https://github.com/chienandalu/odooshow > <https://github.com/chienandalu/odooshow>) to facilitate the inspection > of the data of a recordset. Hi, Tested and adopted, It's awesome. I used it from pytest to inspect objects, it will for sure save a lot of time when debugging or writing tests. Just to share my happiness: add to your test method: ``` import ipdb; ipdb.set_trace() ``` from your test server/vm/container/python ide: ``` $ pip3 install odooshow ipdb $ cd /path/to/my_adddon $ export PYTEST_ADDOPTS='--pdb --pdbcls=IPython.terminal.debugger:Pdb' $ pytest -s -vv --odoo-database=tests --odoo-config=/var/lib/odoo/tests_odoo.conf --pdb tests/test_hr_timesheet_ovetime.py::TestHrOvertime::test_2_overtime_sheet_is_created_on_overtime ``` Let's play with odooshow from ipdb ``` ipdb> from odooshow import show ipdb> show(self.OvertimePeriod.search([]) ... ``` ps: Got an error if the object don't have URL (The same has Quentin spoke about). I made a quick hack for now but I will submit a clean PR today. Thank you David for odooshow ! Regards, Simon -- Simon Maillard simon@ogesta.fr - 0680587358 Parce que sinon ça rend la discussion incompréhensible. > Pourquoi ça ? >> Je préfère répondre en dessous. >>> Que faites-vous à la place ? >>>> Non. >>>>> Vous n'aimez pas répondre au-dessus ?
_______________________________________________
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 Vidal - 01:55 - 5 Oct 2022 -
Re: Odoo Show
Thanks!> I just have unexepected "object has no attribute 'get_base_url'" but i'm gonna dig a bit to really understand how to use it right (or maybe open a issue) !
Simon Maillard just contributed with the fix (https://github.com/chienandalu/odooshow/pull/2) so it will be compatible with Odoo v12 (only python >=3.6 thou). It will be available in the next release :)El mié, 5 oct 2022 a las 9:17, Quentin Dupont (<notifications@odoo-community.org>) escribió:Hello,
Wow such a nice tool !
Installation and firsts tests works fine !I just have unexepected "object has no attribute 'get_base_url'" but i'm gonna dig a bit to really understand how to use it right (or maybe open a issue) !
Le 05/10/2022 à 09:02, Jay Vora a écrit :
Nice one! Thanks
On Wed, Oct 5, 2022 at 3:32 AM David Vidal <notifications@odoo-community.org> wrote:
I have been working for fun on this little tool (https://github.com/chienandalu/odooshow) to facilitate the inspection of the data of a recordset. Any time you're into the Odoo shell either debugging any process or entering the console in a production instance we can import the show method of the library and we will see a table with the default tree fields for that record. Something like this:
Even more, you'll get links to the records urls so you can inspect them directly in the browser! (only in consoles that support console links).
By adding more attributes we can create more complex views by deciding which fields to show, grouping the records, etc. I'm working on documentation, for the moment you can see the code itself ;)
You can see a demo here -> https://asciinema.org/a/525597
There's also limited support for OdooRPC, but some special cases need to be covered.
To render the tables, I'm using the fantastic rich (https://github.com/Textualize/rich) which I can't stop recommending to everyone :)
I hope you enjoy it! (PRs and issues are welcome :))
David
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Technology Services @ www.serpentcs.comBusiness Solutions @ www.serpentcs.inEnterprise Mobile Apps @ www.odooonline.comQuality Assurance @ www.odooqa.comSAP Hana @ www.prozone-tech.com
Portal & DMS @ www.alfray.in
Regards,----------------------------------------------------------------------------------------------------------------------------
Jay Vora
Managing Director
Direct: +91-9879354457 Office: +91-9033472982 Skype: jaynvora
Twitter : jaynvora
-------------------------------------------------------------------------------------------------
Visit our website : http://www.serpentcs.com
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Quentin DUPONT Informaticien
Pôle informatique 09 73 79 64 40 - Bureau 09 72 32 33 17
GRAP - Groupement Régional Alimentaire de Proximité
_______________________________________________
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 Vidal - 01:55 - 5 Oct 2022 -
Request for l10n-serbia
Dear all, I’d like to request creation of l10n-serbia repository and corresponding PSC.
Best regards,Djordje
--Djordje Marjanovic
Managing Director
Violet KSD doo




Ljube Šercera 3, 11010 Beograd

The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.
by djordje.marjanovic - 01:06 - 5 Oct 2022 -
Re: Odoo Show
HI David,
that is pretty useful. Finally we can get rid of PGAdmin then ;-) at least for the report and display part.
Thumbs up for sharing in the OCA and maybe doing a small lightning talk during the OCA event. What do you think?
Best Frederik
Am 05.10.22 um 00:02 schrieb David Vidal:
I have been working for fun on this little tool (https://github.com/chienandalu/odooshow) to facilitate the inspection of the data of a recordset. Any time you're into the Odoo shell either debugging any process or entering the console in a production instance we can import the show method of the library and we will see a table with the default tree fields for that record. Something like this:
Even more, you'll get links to the records urls so you can inspect them directly in the browser! (only in consoles that support console links).
By adding more attributes we can create more complex views by deciding which fields to show, grouping the records, etc. I'm working on documentation, for the moment you can see the code itself ;)
You can see a demo here -> https://asciinema.org/a/525597
There's also limited support for OdooRPC, but some special cases need to be covered.
To render the tables, I'm using the fantastic rich (https://github.com/Textualize/rich) which I can't stop recommending to everyone :)
I hope you enjoy it! (PRs and issues are welcome :))
David
_______________________________________________
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. Phone: +49 4181 13503-12 Fax: +49 4181 13503-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: 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 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
by Frederik Kramer - 12:01 - 5 Oct 2022