Skip to Content

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)

    Arrêté du 23 mai 2019 fixant les modalités de numérisation des pièces et documents établis ou reçus sur support papier en application de l'article L. 243-16 du 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)

    CF - Droit de communication et procédures de recherche et de lutte contre la fraude - Délai et mode de conservation des documents | bofip.impots.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,

    Adrien

    --
    Adrien Peiffer
    Technical Lead

    M : +352 661 506 211


    Atrium Building, Drève Richelle 167 | B-1410 Waterloo | Belgium
    Val Benoit, Quai Banning 6 | B-4000 Liège | Belgium
    Zone industrielle 22 | L-8287 Kehlen | Luxembourg


    On 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 work
    Best regards

    Le 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
    +1

    El mié, 5 oct 2022 15:42, Sergio Corato <notifications@odoo-community.org> escribió:
    +1
    Sergio Corato


    Il 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.

    https://github.com/rafaelbn

    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 Luc 
    Best Joe



    Von: "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 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
    

    _______________________________________________
    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
    +1
    Sergio Corato


    Il 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.

    https://github.com/rafaelbn

    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.

    https://github.com/rafaelbn

    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 Stefan

    Yes, you are correct.

    I have created the following issue related to

    For v16.0 they have worked to improve this:
     - 

    For old versions we had headaches to have gtmetrix green for our production customers



    --
    Moisés López Calderón
    Mobile: (+521) 477-752-22-30
    Twitter: @moylop260
    hangout: moylop260@vauxoo.com
    http://www.vauxoo.com - Odoo Gold Partner
    Twitter: @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ührer
    sewisoft.de - Logo

    sewisoft GmbH
    Örtleinsweg 39
    96148 Baunach

    info@sewisoft.de
    Tel. +49 (0) 160 / 99 11 25 69
    www.sewisoft.de

    Sitz 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:

    image.png

    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

    image.png

    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 :D

    El 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:

    image.png

    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

    image.png

    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.com
    Business Solutions @ www.serpentcs.in
    Enterprise Mobile Apps @ www.odooonline.com 
    Quality Assurance @ www.odooqa.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

    --

    GRAP
    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

     

    djordje.marjanovic@violetksd.com

    +381 11 7986 395

    +381 63 411 426

    Ljube Šercera 3, 11010 Beograd

    violetksd.com

     

    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:

    image.png

    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

    image.png

    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