Skip to Content

Contributors

  • OCA 2021 RFQs - now open for quoting
    Dear OCA Contributors,

    I hope this finds you all well.

    We have published the 2021 RFQs:

    You'll also notice a new page on the website about OpenUpgrade 14.0 and how funding is distributed for this particular project. If you are interested in sponsoring the OCA you can also send us an email.

    If you have any questions about the RFQ process please get in touch.

    Warmest regards,
    Rebecca
    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 09:10 - 16 Nov 2020
  • Module to print Product Labels
    Hi all,

    We have a requirement to print product labels with barcodes/info:

    - Configure label size, margin, padding (similar config than https://github.com/OCA/partner-contact/tree/12.0/partner_label, but with the possibility of saving/reusing label layouts)

    - Configure fields to print // label template

    - Select number of labels per product to print

    Do you know if there's any module like this in OCA?

    Best,

    Iván Todorovich

    by Iván Todorovich - 02:56 - 16 Nov 2020
  • How to propagate custom info/note from Sale Order Line to Purchase Order Line using MTO
    Hello,
    
    for our customers we offer standard products but also one-off custom-made stuff 
    that we order from our suppliers. These are for example special tables with 
    individual dimensions for each project.
    So we have a "template" product (not in the Odoo meaning) that we put into 
    Sale Order  and in the special SOL field we specify the dimensions. Now if the 
    customer accepts the offer, Purchase Order is automatically created as we have 
    MTO setup. We do not group POs nor POLs, so each SOL gets its own POL.
    
    Now how would I be able to propagate contents of that special SOL field into 
    its apropriate POL? Or should I use any other approach?
    
    Thank you very much. Best regards
    
    	Radovan Skolnik
    
    
    

    by Radovan Skolnik - 03:35 - 13 Nov 2020
  • Odoo-test-helper
    Hi All

    I would like to share odoo-test-helper in OCA.
    It's a python lib compatible with odoo V8 to V14 (also work with current master) that help you to test abstract module by loading testing odoo class without creating testing-module

    It was done by several OCA contributor

    You can see example in the readme here : https://github.com/akretion/odoo-test-helper

    It's already used in several OCA repo.

    If you are ok, I can change the owner of the repo and then we should re-configure pypi automatic deploy

    by Sébastien Beau - 11:36 - 9 Nov 2020
  • OCA 2020 Delegate Election Results plus Financial Auditors Campaign NOW OPEN

    Dear OCA Contributors,

    I wanted to share with you the new 2020 Delegates from the  election we have just run:
    • Alexandre Díaz
    • Bhavesh Odedra
    • Carlos Daudén Calvete
    • Marcos Méndez Quintero
    • Mihai-Adrian Fekete
    • Raphaël Reverdy
    • Raphaël Valyi
    • Renato Lima
    • Souheil Bejaoui
    • Wolfgang Hall
    Thank you to all the Members that applied. It is great to see motivation and enthusiasm within the group and certainly helps to keep an active and engaged community.

    As a Contributor if you aren't already a Member and would like to become one you can purchase your membership online here.

    To let you know we have also opened the Board Member and Financial Auditor Campaigns.

    Only Delegates can apply to become Board Members (this includes our new Delegates) but you do not need to be a Member or Delegate to apply to become a Financial Auditor. The application survey is here. This campaign will close on Friday 20th November, 2020.

    Any questions, please let me know.

    Warm regards,
    Rebecca
    -- 
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 09:11 - 9 Nov 2020
  • Advanced(?) QWeb question using customize_show and active

    Hello,

     

    I am working on extending website_sale_hide_empty_category so that recursively empty directories will be hidden in website_sale. However I encountered an issue here. Let me explain. In website_sale the list of categories is rendered using template products_categories which in calls recursive template website_sale.categories_recursive. See here. There is a template option_collapse_products_categories that enables collapsing this list of categories - see here. That works in a way that it replaces a t-call to website_sale.categories_recursive in products_categories with t-call to website_sale.option_collapse_categories_recursive.

     

    Now the original approach was to create 2 templates with customize_show that would extend and alter behaviour of website_sale.categories_recursive and website_sale.option_collapse_categories_recursive (to cover both collapsed and non-collapsed rendering). Like this:

     

    <template

    inherit_id="website_sale.categories_recursive" id="hide_categories_recursive" active="True"

    customize_show="True" name="Hide Empty Category list"

    >

    <xpath expr="//t[@t-name='website_sale.categories_recursive']" position="attributes">

    <attribute name="t-if">c.has_product_recursive</attribute>

    </xpath>

    </template>

    <template

    inherit_id="website_sale.option_collapse_categories_recursive" id="hide_categories_collapse_recursive" active="True"

    customize_show="True" name="Hide Empty Category in Collapsible list"

    >

    <xpath expr="//t[@t-name='website_sale.option_collapse_categories_recursive']" position="attributes">

    <attribute name="t-if">c.has_product_recursive</attribute>

    </xpath>

    </template>

     

     

    However this does not work - the customize option is never shown for website_sale.option_collapse_categories_recursive. My guess is the rendering engine skips that because on parsing the templates it cannot find any instance where website_sale.option_collapse_categories_recursive would be used. Even if you activate option for it, the option for the website_sale.categories_recursive is still rendered.

     

    There would be no issue if both templates would be active - because only one of them would be in effect. But then I'd need a way to activate them both upon one radio button (customize_show). Is there a way to do that? I have tried template inside a template. Not working. Or is there a way to set a variable in one template that would be visible in other templates? I'd create a helper template with customize_show that would set the variable that would be included in condition of both the above templates.

     

    Thank you very much. Best regards

     

    Radovan Skolnik


    by Radovan Skolnik - 12:10 - 5 Nov 2020
  • New check for the development_status manifest key
    Dear contributors,

    A new validity check for the development_status manifest key has been enabled on all branches.

    As a reminder, the valid values are 'Alpha', 'Beta', 'Production/Stable', 'Mature' and the default is 'Beta'. You can read more about the meaning of these values at https://odoo-community.org/page/development-status.

    This check is part of pylint-odoo (thanks Moises!)
    Up to 12, this is done as part of the lint step of OCA/maintainer-quality-tools.
    From 13, this is part of the pre-commit checks.

    This check must pass to get a green build on all branches, because invalid values cause issues down the line. In particular, invalid development status keys prevent publication to https://odoo-community.org/apps.

    Best regards,

    -sbi


    by Stéphane Bidoul - 09:11 - 4 Nov 2020
  • [26132] Status of the EBICS Integration
    Dear fellow Odooers, 
    
    i am coming back to a potential Odoo <-> EBICS integration.
     
    First thanks to Luc DeMeyer from Noviat, Bettina Peiffer from
    Digitally, Jacques-André Eberhard from Open Net and Thorsten Vocks from
    OpenBig who all already provided valuable and knowledgable feedback on
    the matter. As it seems Noviats modules 
    
    https://github.com/Noviat/account_ebics
    
    are the only ones for full automation of banking interation with the
    EBICS standard so far, but rely on a python fintech module 
    
    https://pypi.org/project/fintech/
    
    that has a "free to use" license for a restricted environment and cost
    quite a bit of money for production level usage besides creating a
    lock-in.
    
    https://www.joonis.de/de/fintech/prices/
    
    As Luc told me, he wasn't successful in finding a "real" open source
    alternative to that python module.
    
    In that regard i have recenty found a Java based Open Source
    implementation of an EBICS client
    
    https://github.com/uwemaurer/ebics-java-client
    
    and as Thorsten Vocks suggested some form of semi automation may also
    be achieve by using the Java based banking tools of the Hibiscus
    Banking application
    
    https://www.willuhn.de/products/hibiscus/
    
    Now to my question: I am wondering if somebody else in the community
    found  or is working on a python basis (i.e. Open Source Python Ebics
    client)  in that direction that solves the problem for the python world
    or has made production level experiences with any from of end to end
    Open Souce based integration. 
    
    Any feedback / comments on the matter are very much appreciated. 
    
    Best Frederik 
    
    
    -- 
    Dr.-Ing. Frederik Kramer
    Geschäftsführer
            
    initOS GmbH
    An der Eisenbahn 1
    21224 Rosengarten
            
    Phone:  +49 4105 56156-12
    Fax:    +49 4105 56156-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: Rosengarten – Klecken
    Amtsgericht Tostedt, HRB 205226
    Steuer-Nr: 15/200/53247
    USt-IdNr.: DE815580155
    
    

    by Frederik Kramer - 05:06 - 3 Nov 2020
  • [legal] Odoo CE and EE not GDPR Compliance?

    Dear Contributors,

     

    This looks like is a European Need that maybe Odoo SA should cover.

     

    Is Odoo Community website legal? Is Odoo website legal?

     

    In February 2020 Grégory Schreiner (from France) opened an issue about "Cookie notice > GDPR compliance #696"

     

    https://github.com/OCA/website/issues/696

     

    As a result it looks like the OCA module need to be improved.

     

    https://github.com/OCA/website/tree/13.0/website_cookie_notice

     

    Some contributors have developed modules to integrate with https://www.cookiebot.com

     

    [MIG] website_cookiebot: Migration to 12.0 #790

    https://github.com/OCA/website/pull/790

     

    [13.0][ADD][website_cookiebot] New module for Cookiebot integration #724

    https://github.com/OCA/website/pull/724

     

    Any idea or update are really welcome. BEST place to write comments, please --> https://github.com/OCA/website/issues/696

     

    Thanks in advance

    Regards,

    Rafael Blasco

     

     


    by Rafael Blasco (Moduon) - 03:00 - 3 Nov 2020
  • Module to split 1 JE to many JEs
    Dear Community,

    Want to double check if there is any module in OCA that helps to split one Journal Entry into multiple Journal Entries (group by Partner, etc.)

    Thank you,
    Kitti U.

    by Kitti Upariphutthiphong - 07:31 - 2 Nov 2020
  • Update to 14.0 dot files
    Hello,

    As I write this, the latest version of the OCA addons repo template is being pushed to 14.0 branches.

    It includes the following pre-commit hook updates

    - automatic fixing of the manifest website key
    - new pylint-odoo validity check for the development_status key
    - automatic requirements.txt generation 
    - a 'prettier' fix for compatibility with pre-commit 2.8+
    - less aggressive xml auto-formatter to work around a bug with long field values in data files

    The detailed list of change can be examined in the v1.0.3 milestone [1].

    Best regards,

    -sbi



    --
    Stéphane Bidoul | @SBidoul
    Acsone sa/nv | http://acsone.eu/ | +32 2 888 3120

    by Stéphane Bidoul - 10:01 - 1 Nov 2020
  • Odoo - Cash drawers for shops

    Dear friends,

     

    We are looking for in nice integration with cash drawers for shops.

     

    Do you know and manufacturer and maybe any of you have already integrated?

     

    I have open an issue https://github.com/OCA/pos/issues/552

     

    Thanks in advance

    Regards,

    Rafael Blasco

     

     


    by Rafael Blasco (Moduon) - 08:31 - 31 Oct 2020
  • Warning: Using "numpy" library you will have weird errors in production even if you are not using it
    Hello OCA Contributors,

    numpy is a powerful math library
    But there are weird issues that could be a nightmare in production to found them.

    Imagine that you start your odoo-bin and during starting you just see the following message:

        2020-10-29 15:13:15,053 194 INFO openerp_test odoo.modules.loading: updating modules list
        Segmentation fault (core dumped)

    You can run gdb to find more details but it shows:

        [New Thread 0x7fb752885700 (LWP 1630)]
        Program received signal SIGSEGV, Segmentation fault.
        [Switching to Thread 0x7fb752885700 (LWP 1630)]
        0x0000000000000000 in ?? ()

    Really, WT* is that?
    Where is the issue man?

    After 3 days of my weekend without sleep and running line by line I found that the impostor was: numpy

    I just uninstalled and now all is working well.

    The weird part is that this is a corner case issue and it is not reproduced easily.
    Virtualization environment with a particular kind of processor.
    In our case it was reproduced only and only in production environment (no staging ones)

    Another issue was that all processors were used 100%
    We just uninstalled numpy and now all is working well.

    The issue is only using this line: "import numpy"
    Even if you are not using that odoo module it line is executed and all your environment will be broken.

    More info about the issues:
     - Vx/MQT#315 (Big debug history)
     - numpy#17674 (more recent)
     - numpy#13059 (guilty I didn't sleep for 3 days)

    The following libraries are using numpy as dependency:
     - pandas
     - bokeh
     - altair
     - websocket

    So the following OCA projects depends of numpy:
     - OCA/web


    In fact, numpy is deprecating financial operations, we can use the following library:

    IMHO we should add to "numpy" in the blacklist of libraries in the OCA
    And look for other alternatives.
    For pandas, I know it could increase the performance to process too much records
    but in Odoo we have PostgreSQL and maybe we could find similar results.

    Maybe a pipeline warning for our CI could be helpful if this library is installed.

    What do you think?

    --
    Moisés López Calderón
    Mobile: (+52) 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 - 06:35 - 30 Oct 2020
  • Products by zip code?
    Hello Contributors,

    I've looked around and haven't found a solution yet so before I move to build something I was wondering if anyone knows of a module that allows products to be available depending on the customers zip code?

    Here is an example...

    Say we are a satellite television provider so we sell tv programming and satellite equipment. We have some base programming available to all customers however depending on where the customer is located in the country, their local programming is different as well as the equipment they need.

    We want our sales people to not have to think or look up what products they should choose but instead the sales order products are filtered based on the customers zip code.

    Has anyone run into this scenario?

    by Patrick Wilson - 03:21 - 27 Oct 2020
  • Access rights for website content
    Hi all,

    We are doing some projects involving the website part with Odoo and were wondering if any of you had worked on access rights for publication of modification of content for the website?

    I haven’t seen anything in the community in this line for now, but it is something that would strike me as a must for most companies.

    Our need would be to lock some pages (for example the landing page) while letting users edit or create other pages or to have an approval process for publication.

    I'd also be open to suggestions on the best approach to tackle this if some of you have insights.

    Thanks in advance!

    --
    Quentin Lavallee - Chargé de projets
    NUMIGI SOLUTIONS INC.
    (514) 317-7944

    Longueuil, Québec, Canada

    linkedinyoutubecustom-icontwitter

    by Quentin Lavallée-Bourdeau - 01:45 - 27 Oct 2020
  • Right to be forgotten (GDPR)
    Hello all,
    
    How do we support "right to be forgotten" requests from customers in 
    recent Odoo versions? I could only find 
    https://odoo-community.org/shop/product/privacy-gdpr-4535?version=10 
    only available in 8.0 AFAICT.
    
    Am I missing another way?
    
    
    
    -- 
    Alexandre Fayolle
    Chef de Projet
    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 - 12:11 - 27 Oct 2020
  • Wablate is not working in V14 branches
    Hello,

    I have migrated some modules of operating-unit repository to V14, and when I try to click on the button translate me in the module readme it takes me to Weblate of OCA, but the project doesn't exist.


    How can I translate?

    by Jesús Alan Ramos Rodriguez - 08:06 - 24 Oct 2020
  • Call for Estonian companies
    Dear community,
    
    I’d like to request some alpha-testing assistance from Estonian companies to check the accounting localisation.
    
    Kind regards,
    Alexey

    by Alexey Pelykh - 07:46 - 22 Oct 2020
  • Issues with Travis
    Hi,
     
    I have been checking that lately Travis is getting slower to start a job. After checking, I think the problem is that travis has less available jobs, as you can check on https://www.traviscistatus.com/#day. I am not sure if this is a strategy for them or just a complication, but it seems consistent in the last month. For example, yesterday, there were 9.091 jobs at 7:40 on backlog and it took 6 hours to stay without backlog. I am not sure how much time took a job on backlog, but I am pretty sure it could be waiting two or three. Obviously, this kind of problems are annoying, as merging a PR can takes hours (and I cannot imagine what happens if we try to merge two PRs on the same branch).
     
    In order to avoid this problem, today I was able to use Github Actions with minor changes on maintainer-quality-tools.
     
    Has anyone tried to do something on this line? Has OCA checked other options?
     
    Kind regards,
     
    Enric Tobella Alomar
    etobella@creublanca.es
     
    Centros Médicos Creu Blanca
    Tel: 902 202 230
     
    Tanto este mensaje como los documentos que, en su caso, lleve como anexos,
    pueden contener información reservada y/o confidencial, destinada exclusivamente
    para el uso del destinatario o la persona responsable de entregarlo al mismo,
    estando su uso no autorizado prohibido legalmente.
    Su contenido no constituye un compromiso para Creu Blanca (la empresa remitente)
    salvo ratificación escrita por ambas partes. En caso de su recepción por error,
    rogamos nos lo comunique por igual vía, se abstenga de realizar copias del mensaje
    o documentos adjuntos, remitirlo o facilitarlo a un tercero, y proceda en su defecto,
    a su eliminación.




    Tanto este mensaje como los documentos que, en su caso, lleve como anexos,
    pueden contener información reservada y/o confidencial, destinada exclusivamente
    para el uso del destinatario o la persona responsable de entregarlo al mismo,
    estando su uso no autorizado prohibido legalmente.
    Su contenido no constituye un compromiso para Creu Blanca (la empresa remitente)
    salvo ratificación escrita por ambas partes. En caso de su recepción por error,
    rogamos nos lo comunique por igual vía, se abstenga de realizar copias del mensaje
    o documentos adjuntos, remitirlo o facilitarlo a un tercero, y proceda en su defecto,
    a su eliminación.

    by Enric Tobella Alomar - 07:00 - 22 Oct 2020