Skip to Content
  • Translations done by a webservice
    Hi all,

    Do you know any Odoo open source module that is able to translate user generated content (product descriptions for example) in an integrated way?

    Thanks in advance.

    by Pedro M. Baeza - 11:11 - 22 Jun 2022
  • Split of contract/agreement
    Hi all,

    Before merging the first agreement module to v15, and after some discussions I've had about overloaded repositories, I want to create a new one for those related.

    The PR for agreement is here, where I've already suggested it: https://github.com/OCA/contract/pull/795

    Thanks for your feedback on this

    --

    Denis Roussel
    Software Engineer
    T    : +32 2 888 31 49
    M : +32 472 22 00 57


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

    by Denis Roussel. - 08:41 - 20 Jun 2022
  • Module loading priority and inheritance
    Hi,

    I just installed the auth_totp module to add MFA support to our odoo 12.0 instance and its behaviour is totally broken after a server restart when the auth_ldap module is also installed.

    Because _check_credentials logic is just made to accept at least one Valid authentication and not globally refuse any authentication, the current implementation of the auth_totp will always fail if a module validate _check_credentials after that the MfaLoginNeeded exception is raised.

    To me it's more a framework issue and the manifest should allow a new priority value to sort modules without inter-dependencies (because actually, it seems to use an alphabetic sorting based on module name).
    But without this, how do you handle such situations ?

    --
    Yann PAPOUIN, Ingénieur R&D | DEC


    by Yann Papouin - 03:31 - 15 Jun 2022
  • Generic rest_api modules
    Hi all

    With Acsone, Camptocamp and Forgeflow, we are working on several generic rest_api modules on top of odoo/oca modules that can be used in whatever application you need (e-commerce, event, portal, ....)

    We were thinking first to put this modules in every related oca repo, but it's will make hard for us to maintain it (module will be everywhere)

    So we would like to have a centralized repository to put all this "api" modules so it will be easier
    - to have a quick overview for developper of the list of existing generic endpoint
    - to maintain, by having the api maintainer working on only one repo

    So are you ok with having a "rest-api" repo ?

    In the long term if this repo starts to be too big, we may split it by domain (sale-rest-api, manufacturing-rest-api...)

    Thanks

    by Sébastien Beau - 12:41 - 15 Jun 2022
  • New repos proposal
    Hi all,

    I'd like to propose 2 new repos:

    1. web-api : collect modules to expose or deal with web api (eg: custom management for routes and endpoints, generic tools to handle calls to ext api, etc).

    2. pwa-builder : collect modules that allow to create and manage standalone PWA apps. As many of you know I split the core of the shopfloor wms app some time ago and this core now allows you to create - potentially - any kind of PWA app w/ its backend (based on rest services) and frontend tools (VueJS based). This core is now in OCA/wms but that's not really the right place. The name is not adequate too (shopfloor_base) so I think I'm going to rename it to pwa_core or pwa_builder or something similar.

    I'd say each of them should have its own PSC but maybe having one is fine too.

    Looking fwd to your feedback.

    Bests,

    --
    Simone Orsi

    Full stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source.

    by Simone Orsi. - 09:21 - 14 Jun 2022
  • l10n-estonia status and proposing myself as PSC
    Dear all,

    It seems that PSC for l10n-estonia is inactive entirely as it's been quite over a year since I've requested attention to https://github.com/OCA/l10n-estonia/pull/4 (https://github.com/OCA/l10n-estonia/pull/4#issuecomment-839124178).

    Also, I'd like to apply for l10n-estonia PSC.

    Kind regards,
    Alexey

    by "Alexey Pelykh" <alexey.pelykh@corphub.eu> - 07:16 - 11 Jun 2022
  • Problem when 2 person click same button on the same state at the same time.
    Dear community,

    I don't know technical word to describe this. As we knew, Odoo's view is not refreshed in real time as data got updated backend. And this is problematic.

    For example,
    • 2 users open the same document at state Draft, and a Confirm Button visible.
    • 1st user clicks Confirm, and document sequence set to 1001
    • 2nd user still see the same Confirm button (as page not refreshed), and click it, sequence now change to 1002 without consent of the first person.
    Because Odoo don't have mechanism to prevent this by the framework, and this can happen easily on less mature code.

    Anyone have good techniques to prevent this, rather than writing the blocking everywhere?

    Thanks!

    by Kitti Upariphutthiphong - 07:20 - 9 Jun 2022
  • Weblate translation locked down for account-analytic-15-0
    Hi,

    This module translation project is set read-only:

    Due to this error:
    fatal: bad revision 'origin/15.0..'
     (128)

    Can someone unlock it ?

    Note that I tried the Push button in repository maintenance but it does not update the lock status even if data seems to be fetched correctly.

    Repository for account-analytic-15.0/account-analytic-15.0-account_analytic_parent

    Source code repository git@github.com:OCA/account-analytic.git
    Repository branch 15.0
    Last remote commit [ADD] setup.py 2d8aa95

    OCA-git-bot authored 3 weeks ago
    Weblate repository https://translation.odoo-community.org/git/account-analytic-15-0/account-analytic-15-0-account_analytic_parent/
    Repository details
    On branch 15.0
    Your branch is up to date with 'origin/15.0'.
    
    nothing to commit, working tree clean
    


    --
    Yann PAPOUIN, Ingénieur R&D | DEC

    by Yann Papouin - 04:40 - 9 Jun 2022
  • How to import old invoices from legacy system
    Hello,
    
    I would kindly ask if there is some guide on how to import old invoices from a legacy system. These were processed and paid long time ago so I just need them to be able to see customers' history. However accounting features get in my way when I attempt to import Journal Items (account.move.line) saying "Cannot create unbalanced entry". I guess this has to do with Journal Entries (not) being created as they'd normally do.
    
    Is there a way to do this somewhat easily? Or should I better map the data into Sale Orders? Any advice is greatly welcomed.
    
    Thank you. Best regards
    
    	Radovan Skolnik
    
    
    

    by Radovan Skolnik - 11:25 - 9 Jun 2022
  • queue_job commit
    Hello,

    I would like to commit fix for queue_job but am not able to do that with git. Is it enough if I send it to you in email so I don't break something in the repo itself? The description and code itself is below.
    Thanks!

    queue_job: split autovacuum execution

    Sometimes autovacuum method reach thread max execution time and fail (for us it is 120 seconds). Therefore stop its execution if takes long time and run it again as a new job.

    @@ -282,13 +282,19 @@ class QueueJob(models.Model):
             """Delete all jobs done based on the removal interval defined on the
                channel
     
             Called from a cron.
             """
    +        start = datetime.now()
    +        time_exceeded = False
             for channel in self.env["queue.job.channel"].search([]):
                 deadline = datetime.now() - timedelta(days=int(channel.removal_interval))
                 while True:
    +                if (datetime.now() - start).total_seconds() > 60:
    +                    # we don't want to have thread max execution time exceeded exception
    +                    time_exceeded = True
    +                    break
                     jobs = self.search(
                         [
                             ("date_done", "<=", deadline),
                             ("channel", "=", channel.complete_name),
                         ],
    @@ -296,10 +302,15 @@ class QueueJob(models.Model):
                     )
                     if jobs:
                         jobs.unlink()
                     else:
                         break
    +            if time_exceeded:
    +                break
    +        if time_exceeded:
    +            # there is probably still something to cleanup so run it again
    +            self.env.ref("queue_job.ir_cron_autovacuum_queue_jobs").with_delay().method_direct_trigger()
             return True
     
         def requeue_stuck_jobs(self, enqueued_delta=5, started_delta=0):
             """Fix jobs that are in a bad states
     

    Code of the autovacuum method:

        def autovacuum(self):
            """Delete all jobs done based on the removal interval defined on the
               channel

            Called from a cron.
            """
            start = datetime.now()
            time_exceeded = False
            for channel in self.env["queue.job.channel"].search([]):
                deadline = datetime.now() - timedelta(days=int(channel.removal_interval))
                while True:
                    if (datetime.now() - start).total_seconds() > 60:
                        # we don't want to have thread max execution time exceeded exception
                        time_exceeded = True
                        break
                    jobs = self.search(
                        [
                            ("date_done", "<=", deadline),
                            ("channel", "=", channel.complete_name),
                        ],
                        limit=1000,
                    )
                    if jobs:
                        jobs.unlink()
                    else:
                        break
                if time_exceeded:
                    break
            if time_exceeded:
                # there is probably still something to cleanup so run it again
                self.env.ref("queue_job.ir_cron_autovacuum_queue_jobs").with_delay().method_direct_trigger()
            return True

    Kind regards,
    Martin

    image.png

    by "Martin Fraňo" <waky007@gmail.com> - 10:06 - 9 Jun 2022
  • Creation of Wallet repository
    Hi all,

    As some people are requesting wallet functionalities (aka Financial Reserve), I request the creation of 'wallet' repository under the umbrella of Accounting PSC.

    As soon as it is created, we are going to propose PR's with our current work.

    So, see you there!


    Many thanks.

    --

    Denis Roussel
    Software Engineer
    T    : +32 2 888 31 49
    M : +32 472 22 00 57


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

    by Denis Roussel. - 02:36 - 8 Jun 2022
  • Migration from V11 to V15 -> Fields on account.invoice.line
    Hello dear contributors,

    I have an issue, what some of you might have an easy solution for: After the migration from V11 to V15, obviously the account.invoice.line model was replaced in favor of account.move.line . There were custom fields on account.invoice.line which need to be migrated to account.move.line now in order that a custom module works and the data stays correct.

    The migration was done by Odoo.com (Enterprise). The account.invoice.line table is still there with the custom fields, but I can't see a link to the migrated counterparts on account.move.line. Does anyone know what I could use as a link to copy over the values of my custom fields?

    Any hint is appreciated!

    Thanks and cheers,
    -- 
    Labusch Portrait Laurence Lars Labusch
    Chief Technology Officer
    phone-icon +1 833-767-6366
    email-icon llabusch@archeti.com
    web-icon archeti.com
    address-icon 2348 Jean Talon Est, #403
    Montreal, Quebec, H2E 1V7
    Canada
    ARCHE TI Logo
    linkedin github gitlab
    Meeting Banner

    by "Laurence Labusch" <llabusch@archeti.com> - 11:11 - 1 Jun 2022
  • Odoo Integration for SAP Ariba
    Hello dear contributors,
    
    we are right now in search for an Odoo module which could connect to the 
    API of the SAP Ariba application.
    
    I tried to find information about that, but it seems there is definitely 
    not much in that regard.
    
    Do you have any clues or is there possibly even something in the OCA 
    that I did simply miss during research?
    
    Best greetings,
    
    Manuel
    
    
    -- 
    Mit freundlichen Grüßen
    
    Manuel Engel
    Trainee Anwendungsentwicklung
    
    
    initOS GmbH
    Innungsstraße 7
    21224 Buchholz i.d.N.
    
    Phone:   +49 4105 13503-22
    Fax:     +49 4105 13503-10
    
    Email:   manuel.engel@initos.com
    Web:     http://www.initos.com
    
    Geschäftsführung:
    Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke
    
    Sitz der Gesellschaft: Buchholz i.d.N.
    Amtsgericht Tostedt, HRB 205226
    Steuer-Nr: 15/200/53247
    USt-IdNr: DE815580155
    
    

    by Manuel Engel - 03:30 - 30 May 2022
  • OCA Migration
    Hello!

    I have a PR in the e-commerce repository but my module depends on another module in the repo sale-workflow, this module is not migrated yet causing the checks in my PR fail.
    I would love to know what I can do in those cases?
    How can I pass the checks or do I need to wait until the other PR is merged ?

    Thanks in advance,
    Carmen

    AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer à d'autres ou le reproduire. À moins d'avis contraire de sa part, le destinataire autorise l'utilisation du courriel non sécurisé pour la transmission de renseignements confidentiels.
    CONFIDENTIALITY NOTICE This communication may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. Unless explicitly indicated, the receiver hereby authorizes the use of unsecured and unencrypted e-mail for the future transmission of confidential information.

    by "Carmen Rondo" <crondon@archeti.com> - 10:55 - 27 May 2022
  • PSC proposal
    Dear community members,

    I would like to propose myself as a new PSC of the website project. As you can see on Github I'm quite active reviewing and migrating modules. I'm already PSC of the web project, I just really like frontend development especially the javascript framework.

    My Github profile: https://github.com/tarteo

    Kind regards,

    Dennis Sluijk
    Onestein

    by Dennis Sluijk - 01:26 - 19 May 2022
  • Subscribe l10n-br

    Good afternoon, I am a senior developer in python and we are implementing Odoo in Brazil. We would like to contribute to the community.

     

    Best regards

     

    Rafael Sabino Vieira

    Diretor de Desenvolvimento

    Mobile: +55 62 9 9913-2635

     

    R. Castelo de Alcázar, 125 - Castelo,
    Belo Horizonte, MG, Brasil CEP 31330-310

    rafael.sabino@webvirtual.com.br

    https://webvirtual.com.br

     

    AVISO DE CONFIDENCIALIDADE: Este e-mail, incluindo anexos e/ou documentos vinculados, destina-se ao uso exclusivo do destinatário pretendido e pode conter informações privilegiadas, confidenciais, proprietárias ou protegidas por lei. É proibida qualquer revisão, disseminação, distribuição ou cópia não autorizada. Se você recebeu esta comunicação por engano, entre em contato imediatamente com o remetente original por resposta de e-mail e destrua todas as cópias da mensagem original e todos os anexos. Observe que quaisquer visualizações ou opiniões apresentadas neste e-mail são exclusivamente do autor e não representam necessariamente as da ALLIANCE TECH SYSTEM.

     

    CONFIDENTIALITY NOTICE: This e-mail, including any attachments and/or linked documents, is intended for the sole use of the intended addressee and may contain information that is privileged, confidential, proprietary, or otherwise protected by law. Any unauthorized review, dissemination, distribution, or copying is prohibited. If you have received this communication in error, please contact the original sender immediately by reply email and destroy all copies of the original message and any attachments. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ALLIANCE TECH SYSTEM.

     


    by "Rafael Sabino" <rafael.sabino@hotmail.com.br> - 06:30 - 16 May 2022
  • Contract PSC
    Hi all,

    As I've been part of development of contract modules for months, I would like to be part of the PSC that manage it (https://odoo-community.org/psc-teams/project-service-28).

    Here under my current work in it: 




    Thanks.

    Let's contribute!

    --

    Denis Roussel
    Software Engineer
    T    : +32 2 888 31 49
    M : +32 472 22 00 57


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

    by Denis Roussel. - 10:25 - 16 May 2022
  • Proposing myself as l10n-spain PSC

    Dear contributors,

    I would like to apply as PSC for Spanish Localization

    I have deep knowledge in accounting and legal and fiscal requirements from Spanish administration. In fact, this Code Sprint I will focus only in reviewing and fixing Fiscal issues.

    I’m already PSC of other repositories like accounting.

    I think I can help to Spanish localization and maintain it up to date, as you know, reviewing functionally, testing, and organizing.

    https://github.com/rafaelbn

    Thanks to consider my request

    Regards,

    Rafael Blasco

     


    by "Rafael Blasco" <rblasco@moduon.team> - 05:56 - 13 May 2022
  • RFQ for OCA 2022 Graphic Designer closes this Friday 13th May.
    Hello OCA Contributors.

    Just a quick reminder that the RFQ for OCA 2022 Graphic Designer closes this Friday 13th May.

    We would love to hear from you if you or someone in your team has the skills to help us.

    We are looking for someone to maintain the marketing materials, including but not limited to:
    ○ Logos
    ○ Brochures
    ○ T-shirts
    ○ Banners
    ○ Flags
    ○ Flyers
    ○ Goodies
    ○ Presentations

    Any questions please get in touch: rfq@odoo-community.org

    Have a great day,
    Rebecca
    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 06:56 - 11 May 2022
  • multi company: how many companies is too many?
    What is the largest number of companies you ever ran in a single (recent 
    version) odoo instance?
    
    When does the performance start to degrade because of the record rules 
    or company properties?
    
    
    -- 
    Alexandre Fayolle
    Senior Software Engineer
    Tel : +33 4 58 48 20 30
    
    Camptocamp France SAS
    18 rue du Lac Saint André
    73 370 Le Bourget-du-Lac
    France
    
    http://www.camptocamp.com
    

    by Alexandre Fayolle - 11:46 - 10 May 2022