Skip to Content

Contributors

  • External access token expiration
    Dear community

    With portal module installed, Odoo can send links to documents by e-mail using an access token so that the recipient doesn't need a portal user to see said documents.

    Access to the document is handled through this controller: https://github.com/odoo/odoo/blob/15.0/addons/portal/controllers/mail.py#L206

    Now, it's been multiple time customer are requiring to expire this token one way or another, because in standard Odoo the document stays accessible forever. The only solutions I could come up with without having to change everything are described below (extracted from personal notes):

    That means, to restrict the validity of the token that was sent in the mail, the token set on the record that is accessed needs to change after a "validity period". The issue with this, is if the link for a same record is sent multiple times during a single "validity period", the availability will not be the same. For example, if we want to define that access tokens are recomputed every 30 days, someone receiving an e-mail 5 days after the token was recomputed would be able to access the document for 25 days, and someone receiving an e-mail 25 days after the token was recomputed would be able to access it only for 5 days.

    A slightly better solution without changing everything but probably more tricky to implement properly, would be to add a new Datetime field next_access_token_refresh on portal.mixin (or another mixin to be inherited on selected models in order to control the application by model) and set it XXX days in the future (according to a server parameter) each time we need to set the access token in an email. If we define the availability to 30 days, that means if a mail is sent to access the same document to a first external user today and to a second external user in 15 days, the first external user would be able to access it during a period of 45 days.

    Did anyone here face a similar requirement? How did you handle it?

    Ideally, we would need a single token to be generated per e-mail being sent so that we can define the expiration of said token, but it seems like there's no other solution than to overwrite and redefine everything, what I would prefer to avoid to ease maintenance of such a module.

    Thanks for sharing your insights.

    camptocamp
    INNOVATIVE SOLUTIONS
    BY OPEN SOURCE EXPERTS

    Akim Juillerat
    Business solutions
    Software architect
    +41 62 544 03 78

    Camptocamp SA
    Leberngasse 21
    4600 Olten
    Switzerland
    +41 21 619 10 10

    by Akim Juillerat - 07:46 - 11 Jan 2024
  • tested website_odoo_debranding: Migration to 17.0
    Hi Odoers,

    Tested the latest changes made by Niels, website_odoo_debranding, and it works, see the link below.


    Can anybody move this version to the GitHub OCA - version 17?


    I have no clue what the policy is and who is allowed to create/move this to version 17.



    Best regards,

    Michel


    by Michel Stroom - 07:11 - 11 Jan 2024
  • OCA 2024 Membership
    Hello OCA Contributors,

    Welcome to 2024!

    I am in the process of sorting out memberships for 2024. Check out our new logo badges!
    If you would like, you can purchase your membership yourself on the website: 
    If you would like a corporate membership with all your company's members on the one invoice please get in touch with me at membership@odoo-community.org and I will sort this out for you.

    We have changed the process up a bit and hope that the new corporate invoicing will be much smoother going forward. 

    I am super excited to share that the membership directory has been fixed as well - once your invoice has been reconciled you should now show on the directory. Big thanks to Benoît Guillot and Graeme Gellatly for all the work on getting this sorted.

    Please be a little patient with reconciliation on the direct bank payments - this takes a little longer for the info to get through than Paypal and Stripe.

    Wishing you all a wonderful start to the year.
    Any questions please just get in touch.
    Rebecca


    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 03:05 - 11 Jan 2024
  • Document Management System
    Hi

    The Documents app from Odoo seems great in presentations, but I think there is something I am missing...

    Our customer wants to have one workspace for everything related to a customer project, from the time it is created as a lead to the paid invoice, including sales ordes, delivery orders, drawings/other documentation. As you can see some of this is generated outside of Odoo, that must be handled manually, but how can I configure Odoo to create a workspace when a lead is created for example? Seems invoices are supported somehow, but can't find much information on how to use this app.


    Torvald Baade Bringsvor
    Bringsvor Consulting AS - Developer, consultant, allrounder

    Tel (+47) 4548 2848

    by Torvald Bringsvor - 09:55 - 10 Jan 2024
  • EDI Platform
    Hi,

    We are a meat processing industry and we want to implement Odoo 16 Community. 

    We have to meet a need very important for us: EDI. Our actual ERP (A3ERP) has a connection directly to our partner "Seres" that send invoices and receiver orders to our customers. The systems sends and receive this messages via FTP.

    Could anyone help us with this project?

    Thank you very much.

    Saludos,

     
    Nota Legal: Este mensaje y sus anexos se dirigen exclusivamente a su destinatario y pueden contener información privada y confidencial para uso exclusivo de su destinatario. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción, informándole que cualquier divulgación, copia, distribución o uso de los mismos está prohibida en virtud de la legislación vigente.

     Legal Notice: This message and its attachments are exclusively directed to the addressee and may contain private and confidential information for the use of the addressee. If you have received this message by mistake we request that you immediately inform us and delete it. If you are not the intended recipient you are being notified that the coping, disclosing, distribution or use of this information is forbidden by law


    by Sergio Borja - 02:39 - 10 Jan 2024
  • purchase information gone in 15.0?
    Hi!
    In 14.0 and older I could define purchase information for each product 
    and supplier. (Product -> Purchase -> supplier's line entry) In 15.0 
    this screen and information seems to be gone. At least it's not where it 
    used to be. Has this been moved to elsewhere? If its removed from base, 
    is there any module which reintroduces this information?
    
    Best regards
    Jan

    by Jan Suhr - 06:16 - 9 Jan 2024
  • Inquiry on Preferred BI Tools and Connection Methods for Odoo

    Dear OCA Contributors,

    I hope this message finds you well. I am reaching out to the knowledgeable and experienced members of the Odoo Community Association to gather insights on a topic that is of growing importance in our field - the integration of Business Intelligence (BI) tools with Odoo.

    As we continuously strive to improve our business processes and data analysis capabilities, understanding the most effective tools and techniques for integrating BI solutions with Odoo is crucial. Therefore, I would be immensely grateful if you could share your experiences and preferences in this area. Specifically, I am interested in the following questions:

    1. Preferred BI Tools: Which BI tools have you found most effective or user-friendly when integrated with Odoo? Any particular reasons for your preference, such as ease of use, comprehensive features, or compatibility?
    2. Connection Method: What type of connection method do you commonly use for integrating BI tools with Odoo? Have you predominantly been using XML-RPC, or are there other methods that you find more efficient or reliable?
    3. Experiences and Recommendations: Any specific experiences, challenges, or success stories you can share about integrating BI tools with Odoo? Your insights could be incredibly valuable for others in the community who are navigating similar decisions.

    Your feedback and insights will not only assist me in making informed decisions for my current projects but will also benefit the broader OCA community as we all work towards optimizing our use of Odoo in various business scenarios.

    Thank you in advance for taking the time to share your knowledge and experiences. I look forward to your valuable responses.

    Best regards,

    Rafael Blasco

    Moduon


    by "Rafael Blasco" <rblasco@rbnpro.com> - 04:43 - 9 Jan 2024
  • Volumetric weight for packaging

    Dear contributors,


    do we have a base module (possibly for odoo14) to compute volumetric weight for Delivery Packages ?


    I found this one https://github.com/OCA/product-attribute/tree/13.0/product_dimension_volumetric_weight but it's for product dimension, not for packaging/package dimension.


    All the best

    --

    Francesco Ballerini



    by Francesco Ballerini - 05:40 - 29 Dec 2023
  • MRP: Replenish MO multi-line (stock.move) selection
    Hello OCAers,

    I have a customer who wants to manually select several lines in a manufacturing order (MO) and launch a replenish action on those selected lines.

    Basically he wants to have the same functionality as in the overview but to be able to search filter and select many lines in place of having to click on “replenish” for each line; get the wizard popup to select the location, route and launch the replenshment action

    The default replenishment system in Odoo doesn't allow them to filter the replenishment lines (stock.warehouse.orderpoint)  to only get lines corresponding to that specific MO (unique line per product/location)

    Is there some module in the OCA that can help? Any insight?
    Thank you


     --
    Yves Goldberg
    odooOfficial Partner - OCA delegate
    Open Source ERP, CRM & CMS
    T +972 (3) 720 8818
    +972 (55) 966 1405
    +32 (2) 588 2500
    --


    by Yves Goldberg - 01:16 - 29 Dec 2023
  • Module Question Last Updated by Users
    Hi OCA Mailinglist,
     
    this is my first question: Do you know a module where i can search/look the last updates related to a user in all data models ?
     
    Regards,
    Stefan


    Stefan Kranz
    Geschäftsführer
    Kranz GmbH
    Bellevue 1-3
    23968 Gägelow / GERMANY
    Tel: +49 3841 6290-0
    Fax:+49 3841 6290-32
    Diese E-Mail und alle Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail und ihren Inhalt. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
    This e-mail and any attached files may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail by mistake) please notify the sender immediately and delete this e-mail. Any unauthorised duplication, disclosure or distribution of this e-mail and content is strictly forbidden.
    www.med-technik-kranz.de
    HRB Schwerin 1930


    by "Stefan Kranz" <stefank@med-technik-kranz.de> - 08:56 - 29 Dec 2023
  • Odoo 12 - Specific report for customer
    Hi all, i'm looking for a way to specify a potential default report template (for Invoice and/or Order) for each of my customer.

    I've got some specific informations to put in the pdf invoice report according to the type of customer. Rather than create a very complex report, i was looking a way to create report to associate to customer. Do you know if is possible to do it? Some OCA module?

    Thanks 

    Happy New Year

    by Cedric DEBARD - 11:30 - 28 Dec 2023
  • Test OCA Carriers in sandbox
    Dear contributors,

    I see OCA has implemented several providers in OCA/delivery-carrier/14.0 , is it possible to test some of them in sandbox ?

    Thanks!
    Best regards

    --

    Francesco Ballerini

    by Francesco Ballerini - 04:31 - 22 Dec 2023
  • e-CMR Compliance (transport)

    Hello contributors!

     

    For everyone aware about CRM (Convention relative au contrat de transport international de Marchandise par Route)

     

    We plan to develop an OCA set of modules to implement the CMR Convention.

     

    Any one is near of this matter and would like to give an expert opinion?

     

     

    RFC for CMR Management and e-CMR Integration in Odoo ERP (OCA RFC in stock-logistic-transport)

    Introduction

    eCMR, as a digital adaptation of the traditional CMR consignment note, has been legally validated and is an integral part of the international transport of goods. Endorsed by numerous countries and supported by the United Nations, its adoption signifies a pivotal move towards digitalization in the transportation sector. This transition is not only a technological advancement but also aligns with global efforts for sustainable and innovative logistics practices.

    Objective

    Develop and implement a functionality in Odoo ERP to manage transportation processes in compliance with the CMR Convention and to prepare for the mandatory use of e-CMR starting in September 2024.

    General Description

    • Sale as Route: Each sale represents a transport route.
    • Purchases and Carriers: Each purchase linked to a route is a carrier.
    • CMR Management: One CMR document is updated by each carrier.
    • Final Signature and Invoicing: The completed CMR is attached to the invoice for client payment.

    Technical Specifications

    1. Sale Route Module: Links sales to transport routes and purchases.
    2. CMR Management Module: Creates, updates, and tracks the CMR document.
    3. Integration with Purchases: Links purchases to CMR updates.
    4. Completion and Sending of CMR: Finalizes CMR for invoicing.
    5. CMR Claims from Suppliers: Automated CMR request and collection.
    6. Security and Compliance: Ensures legal compliance and data security.
    7. User Interface and Experience: User-friendly design and accessibility.
    8. Reporting and Analysis: Tools for tracking and improving logistics.

    e-CMR Integration

    • Compliance with 2024 Regulation: Adapts to mandatory e-CMR usage.
    • Digital Transformation: Transitions from paper-based to digital CMR.
    • Subsidy Utilization: Leverages financial programs like "Cheque Moderniza".
    • Technical Adaptation: Prepares for technology changes required by e-CMR.
    • Training and Support: Provides training for e-CMR system use.

    Conclusion

    Integrating CMR and e-CMR functionalities in Odoo aligns with regulatory changes and represents a commitment to digital transformation in logistics and transportation management.

     

    Thank you in advance.

     

    Best regards,

     

    Rafael Blasco

    Moduon

     


    by Rafael Blasco (Moduon) - 03:54 - 21 Dec 2023
  • Odoo 12 - DMS Module - Directory

    Hello All


    I've just installed the DMS module on my Odoo12 installation, https://github.com/OCA/dms/tree/12.0,  i can create a stockage but can't create a root directory inside this stockage. 

    ===============================
    The requested operation cannot be completed due to security restrictions. Please contact your system administrator

    (Type de document : Directory, Opération : create) - (Records: [90], User: 2) 
    ===============================

    Any idea

    Thanks

    by Cedric DEBARD - 03:36 - 20 Dec 2023
  • "Translating" pictures in website breaks website editor - any workaround?
    Hello everyone,
    
    sorry for non-development question but this is really so specific I cannot imagine anyone besides experts here would be able to answer.
    
    A client has a website where on few pages there is a picture that needs to be different for different language version (because it contains embedded text in that language). The way we came out to deal with this is adding something like <t t-set="image_url" t-value="url_of_the_picture_in_default_language"/> before the image itself and then in the image itself something like <img t-att-href="image_url"/>
    
    This way the URL value can be translated to other languages. While it works as planned unfortunately it breaks the website editor - some JS error appears and the component palette won't be loaded :-(
    
    I have a stupid feeling I am missing some other obvious option. Any ideas please?
    
    Best regards
    
    	Radovan Skolnik
    
    
    

    by Radovan Skolnik - 07:15 - 19 Dec 2023
  • Inquiry on Connecting Odoo.sh with Power BI for Odoo v15, v16 and v17
    Dear OCA Team,

    We are currently exploring possibilities to connect Odoo.sh with Power BI for odoo versions v15, v16 and v17. I would appreciate it if you could provide insights into the available options and any recommendations for achieving this integration.

    Your assistance in this matter is highly valuable. Thank you in advance for your support.

    Thanks and Regards,
    LogoLogo
    Mitesh Jayswal
    Team Lead - Open Source (Odoo Certified)
    M: +91-7016346545
    P: +91-8140810579 / EXTN: 1001
    E: mitesh.jayswal@brainvire.com
    W: www.brainvire.com
    Facebook icon LinkedIn icon Twitter icon Blog
    Inc MagazineDeloitteSilicon Valley's Fastest Growing  CompanyReviewed on clutchGreat Place to Work

    Disclaimer: The information transmitted by this email is intended only for the person or entity to which it is addressed. This email may contain proprietary, business-confidential and/or privileged material. Please consider the environment before printing.



    by mitesh.jayswal - 02:01 - 18 Dec 2023
  • Receive and deliver in Packages
    Hello, I couldn't find this feature in out of the box Odoo, nor existing OCA modules, but tapping the collective brain in case I'm missing something:

    I receive from my supplier boxes with Parts A, B and C.
    They have serial numbers, so I'm receive them individually and the put them in a Package , to track them together.
    This works out of the box, with some UX sugarcoat that may become an OCA module.

    Then I want to deliver that box to a customer.
    I want the picking person to select a box, and then the delivery order should have those 3 lines with the particular SNs of the box that was selected.
    I can't get this working, even enabling the "Move packages" option in the Operation Type.

    So my guess is that I'll need a feature to pick a box in a DO.
    But maybe someone knows better.

    Thanks for the feedback.


    --
    DANIEL REIS
    MANAGING PARTNER

    M: +351 919 991 307
    E: dreis@OpenSourceIntegrators.com
    A: Avenida da República 3000, Estoril Office B, 3º Escr.34, 2649-517 Cascais


    by Daniel Reis - 02:39 - 15 Dec 2023
  • AUTOMATISATION D'ENVOIE DE MAIL EN CAS DE SEUIL CRITIQUE
    Bonjour à tous je viens vers vous solliciter votre aide, aufaite je suis sur odoo online version 16, puis que j'ai pas d'accès au code source j'aimerais automatisé le seuil minimale atteint par un mail envoyé au responsable de stock si c'était possible avec les actions automatisés svp aider moi

    --

    SY Hawa Diallo - (IngéniEure SI)

    InfOrmation SystEms EnginEer



    by hawa1 - 02:01 - 13 Dec 2023
  • Sale Order packaging without specify products
    Hello, 

    TLTR 

    I am searching (for Odoo v14) a module which add a one2many on sale order, linking SO with multiple product packaging objects.

    More details

    Long time ago I've been asked to make implementations for a workflow when we need to define product packaging objects in a Sale Order so that we can store packaging dimensions, compute the proper rate and send some info to the carrier. 

    We don't want to define any package on sale order line, or link specific products to a packaging: we just need to define an X number of packaging objects related to the sale order. 
    Also, we want to do it from sale order because we adjust product lines accordingly to the "on hand quantity" directly on sale order, before picking generation, plus we don't manage backorder in the classic Odoo way, so picking is basically only "validate" for us.

    I already have developed the workflow, but it's not properly integrated with some Odoo modules/models so I want to make some refactors and possibly integrate it with some OCA modules like product_packaging_dimension to use already implemented features when possible.

    But I did not find anything covering this, possibly did I miss it?

    Thanks

    Francesco Ballerini

    Privo di virus.www.avast.com

    by Francesco Ballerini - 12:24 - 11 Dec 2023
  • Packaging

    Dear OCA’ers,

    i am looking for a way to attach packaging products (storable, with selling price) to a sales order automatically, when a specific product is selected.

    I already checked the sale_attach_product of the sales_workflow repo, but this doesnt seem to cover the needs in this case. It adds the same quantity of the parent product.

     

    I also checked the product-pack repo. But the flow seems to be the opposite way. You can select a pack in the sales order, which adds the pack components to the SO.

     

    What i want to achieve… Add a product „Product 1“ to sales order (e.g. quantity of 20).

    Automatic addition of the packaging product „Packaging Product“ to the sales order (quantity = quantity of Product 1 / variable then round up, so in this case e.g. 20/6=3,33 -> 4).

    Ideally this is related only to selected delivery methods or route. So for example: When the delivery is done by the company itself, the packaging product should be apllied to the sales order. If the delivery is performed by a shipping provider, the mechanism should not apply.

     

    I will go ahead checking the stock-logistics-warehouse repo. But if there is something helpful crossing your minds, feel free to share these thoughts…

     

    Cheerio

    Nils

     

    -- 

    NICO SOLUTIONS - ENGINEERING & IT 
    Dr.-Ruckert-Str. 
    1G 
    28865 Lilienthal 
    Deutschland (Germany) 
    Ust.-Idnr. (VAT-ID): DE341437044 

     


    by Nils Coenen - 06:31 - 8 Dec 2023