Skip to Content

Contributors

  • Suggesting Samuel Macias to various PSC
    Hello OCA Contributors,

    I would like to recommend my colleague Samuel Macias to the following PSC:
    Thank you!

    MAXIME CHAMBREUIL
    DIRECTOR GENERAL LATAM
    Calendario
    T:
     +52 (800) 953-2012 #5200
    M: +52 (442) 114-9164 | WhatsApp
    C: MChambreuil@OpenSourceIntegrators.com

    Av. Antea 1032, Piso 4 Local 8, Colonia Jurica
    Santiago de Querétaro, Querétaro, 76100, México


    Analizar. Optimizar. Automatizar. Transicionar.


    by Maxime Chambreuil - 07:51 - 29 Nov 2023
  • Porting a module from the OCA whose feature is now in Odoo CE
    Hi community,

    The functionality of module stock_picking_responsible in v12 is now part of Odoo CE in v16 but it still needs a migration script* : what should I do in this case ?

    My intuition is to port stock_picking_responsible to v16 and only leave the migration script in the module. I'm afraid this would clutter the oca repository with empty repositories.

    What do you people think ?

    All the best,

    * more detail :
    responsible_id is a many2one to a res.partner in stock_picking_responsible
    responsible_id is a many2one to a res.users in stock

    Robin Keunen 
    Coop IT Easy 
    robin@coopiteasy.be 
    +32 488 86 57 40

    by Robin Keunen - 07:01 - 21 Nov 2023
  • Purchase / Procurement Teams?
    Hello,
    
    for a future project I am looking for something like Sales Teams (or procurist 
    specialization) but for Purchase. The split between teams/people should be 
    based on category of the products being purchased. For example in a 
    construction company someone purchases base materials, someone else 
    insulation, ... Couldn't find anything even remotely similar.
    
    Any help / pointers are welcome.
    
    Best regards,
    
            Radovan Skolnik
    
    
    

    by Radovan Skolnik - 06:21 - 20 Nov 2023
  • Porting sale_order_type to 17
    Hi guys
    i'm trying to port sale_order_type module to Odoo 17
    (i'm not a python developer)
    
    I've done almost everything and now the module install properly (and
    seems to work properly too)
    But there are two things i don't know how to solve:
    
    1. group_display_incoterm was removed from sale_stock and thus the
    actually views used by sale_order_type doens't install properly. I've
    removed the reference to ' groups="sale_stock.group_display_incoterm"
    ' but I don't know if this is correct or has to be replaced with
    something else
    
    2. `states` are deprecated in 17. How can I replace these ?
    https://github.com/OCA/sale-workflow/blob/16.0/sale_order_type/models/sale.py#L20-L23
    
    Tnx
    

    by gandalf.corvotempesta - 06:57 - 19 Nov 2023
  • runboat update
    Hi everyone,

    I just deployed a runboat update to address the issue of modules that conflict at installation in the same repo.

    When installation fails for any reason, runboat now initializes a database with the base module only. This way, users can select which addons to install.

    This is only an imperfect workaround, though, and in general we should continue to refrain from having modules that conflict at install time in the same repository.

    Best regards,

    -Stéphane


    by Stéphane Bidoul - 05:16 - 19 Nov 2023
  • Operating unit
    Hi 
    I have installed 

    account_operating_unit , operating_unit and product_operating_unit
    The description of the modules says "Product and customer independence of OU." 
    Yes
    I can see the independence of the products: if an OU1 user created a product, an OU2 user will not see it.

    But the same is not happening with the Customers, it seems customers are global over OUs. If an OU1 user created a customer, an OU2 user can see it.
    How to achieve the independence of customers?

    Regards


    by Ahmed - 11:52 - 16 Nov 2023
  • New way to create repositories and add maintainers
    Hello Community,

    On the last weeks, Simone and myself have been working on a new tool that can be used to create repositoires and add maintainers. Right now, everything will be managed inside Github: https://github.com/OCA/repo-maintainer-conf/

    So, if you want to add yourself as a PSC, you just need to find the PSC team on https://github.com/OCA/repo-maintainer-conf/tree/master/conf/psc and add your github token with a Pull Request. Once it is merged, you will be added as PSC.

    Also, you can ask for the creation of a new repo and even change the default branch of the repo there. For example: https://github.com/OCA/repo-maintainer-conf/blob/master/conf/repo/account.yml#L1-L18

    This will improve the transparency and clean-up the management of it.

    I hope you all enjoy the changes.

    Kind regards,

    --
    Enric Tobella Alomar
    CEO & Founder


    by Enric Tobella Alomar - 10:57 - 16 Nov 2023
  • emergency maintenance on OCA server
    Hello everyone,
    
    We have a faulty disk on the OCA server. I opened a support issue to get 
    it replaced in the datacenter. This will result in a downtime of the 
    server, and possibly some degraded performance while the RAID arrays get 
    rebuild.
    
    Impacted services:
    
    * our Odoo instance
    * our webite
    * the translation platform
    * the OCA gitbot
    
    I'll keep you posted when we have more information about the time of the 
    intervention.
    
    We thank you for your understanding.
    
    
    
    -- 
    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 - 01:01 - 16 Nov 2023
  • Manual Currency Conversion Bank Transaction
    Hi everyone,

    I have the case of a client who wants that when importing a bank statement, in the reconciliation of movements thanks to the `account_reconciliation_widget` module, he can determine the rate that he agreed with his bank and not the one offered by Odoo.

    I'm surprised that there is no module for this, since it is very common.

    I am trying to develop the functionality, but it is a bit complex to avoid the odoo rate and make everything add up in the end, since the rate calculation is repeated in several places.

    Any ideas or suggestions?

    Greetings and thank you very much,

    /Lansana Barry






    by Lansana Barry - 09:25 - 16 Nov 2023
  • Odoo Test framework and rollback issue
    Hi everyone,

    I'm currently developing on 14.0 a test for one of my module and I'm having a headache trying to understand why an action is not properly rolled back after the exception is raised.

    My code sample:
    class TestSoftwareLicensePass(TransactionCase):
        def test_activation(self):
            ...
            self.assertEqual(pass_lic1.get_remaining_activation(), 1)
            with self.assertRaisesRegex(ValidationError, r"Max activation reached"):
                pass_lic1.activate("device_uuid_4/3")
            self.assertEqual(pass_lic1.get_remaining_activation(), 1)
            with self.assertRaisesRegex(ValidationError, r"Max activation reached"):
                pass_lic1.activate("device_uuid_4/3")

    The second assertEqual statement FAILS because get_remaining_activation() returns 0, but since the exception has been correctly captured by the  with self.assertRaisesRegex statement, this part should have been rolled back by the odoo framework.
    (and no cr.commit in the activate function)

    Looking in other tests, I can see that a lot of with self.assert statements have a self.cr.savepoint() at their side (like this code sample in odoo/odoo/addons/base/tests/test_views.py):

    class TestViewInheritance(ViewCase):   
        def test_no_recursion(self):
            r1 = self.makeView('R1')
            with self.assertRaises(ValidationError), self.cr.savepoint():
                r1.write({'inherit_id': r1.id})

    Is this related to the TransactionCase class ? (Probably not, I made a test with SavepointCase and same issue)
    Should I always append self.cr.savepoint() ?

    Yann.

    by Yann Papouin - 06:16 - 15 Nov 2023
  • Sale/invoice report break page
    Dear community,

    One of my customers using odoo 14.0 needs to get the control where page breaks appear in pdf reports on quotations and invoice documents.

    Do you know any existing modules to do that ?

    As sections are table rows it's not as easy to add a page-break-inside: avoid; on a html block and would not fit all corner cases. So I'm going to add a link button (such as the add section) that will add a new kind of row to manage the break page in reports.

    This probably ends up with 3 modules:

    base_breakpage in oca/reporting-engine
    sale_report_breakpage in oca/sale-reporting
    account_invoice_report_breakpage in oca/account-invoice-reporting

    Any hints on that ?
    regards

    --
    Pierre Verkest
    06 81 12 25 20
    Github: petrus-v - Linkedin: pierre-verkest

    by Pierre Verkest - 11:36 - 15 Nov 2023
  • unit price precision based on product UOM category selected
    Hi,
    Is there a module that can help me with the following?

    use case: change the unit price precision based on the selected product's uom (or product category's uom)

    I add to a SO, invoice, PO:
    - a 1st line with an article with a UOM of type "energy" and this would allow me to specify the unit price with 4 digits
    - a 2nd line with an article with a UOM of type "unit" and this would allow me to specify the unit price with default 2 digits.

    Thank you
     --
    Yves Goldberg
    --


    by Yves Goldberg - 09:21 - 15 Nov 2023
  • Info Server VPS
    Ciao Lorenzo,
    come da comunicazione con Fabrizio, faccio un elendo dei task da
    completare ed il relativo costo.
    
    - creazione server virtuale 15 EUR
    - installazione e configurazione backend 25 EUR
    	* tomcat
    	* php-fpm
    	* postgresql
    	* mariadb (mysql)
    
    - Installazione Wordpress e wp-cli 15 EUR
    - Installazione e configurazione letsencrypt 15 EUR
    - Migrazione sito web Wordpress 25 EUR
    - Migrazione applicazione in Java 25 EUR
    - Migrazione DNS e SSL per il dominio booking 25 EUR
    - Migrazione DNS e SSL per il sito web wordpress 25 EUR
    - Creazione soluzione di backup in gdrive 75 EUR
    - Migrazione database (postgresql, e mysql) 30 EUR
    - Backup una tantum 25 EUR
    
    In totale 300 EUR
    
    Per il backup di postgres ci pensa Fabrizio, per il sito web avete
    bisogno di backup?
    
    Inoltre per la quota mensile posso fare 120 EUR con pagamento
    anticipato trimestrale che include assistenza e monitoring, manutenzione
    e aggiornamento del server con test di ripristino backup mensile.
    
    Inoltre c'è un servizio opzionale di hardening del server, per la messa
    in sicurezza.
    
    Attendo tue,
    Salvatore De Paolis
    

    by Salvatore - 06:55 - 14 Nov 2023
  • intercompany transfer
    dear all

    i have issue with inter company 
    i have to companies A&B
    both company sell and purchase from them
    when make this process between them i have in inventory tow delivery order or tow Receipts for one sales order or purchase 
    please i need help to solve it

    --
    Best Regards
    Samir Mahmoud
    00201062648111



    by Samir Mahmoud Hassan - 03:30 - 14 Nov 2023
  • Expression of Interest in Becoming Maintainer for l10n-switzerland Repository
    Dear community,

    I hope this email finds you well. My name is Emanuel, and I am writing to express my interest in the l10n-switzerland repository. I recently noticed that the repository appears to be inactive, and as someone passionate about its purpose, I am eager to contribute to its revitalization.

    I am writing to inquire about the current maintainers of the l10n-switzerland repository and to express my willingness to take on a role as a maintainer. The project's objectives align closely with my interests and skills, and I believe that by actively participating in its development, we can work together to ensure its continued growth and success.

    I have successfully contributed to various OCA repositories in the past, and I am committed to dedicating time and effort to this project to help bring it back to life.

    If the opportunity to become a maintainer is available, I would appreciate any guidance on the steps I need to take or the process involved.

    Thank you for considering my request, and I look forward to your guidance on how I can assist in reviving this valuable open-source initiative.

    Best regards,

    Compassion Switzerland

    by "Emanuel Cino" <emanuel@compassion.ch> - 12:29 - 13 Nov 2023
  • 17.0 branches
    Hi everyone,

    The 17.0 branches are being created in all OCA repos as I'm writing this.

    There are few news and improvements compared to previous branches, mainly in the pre-commit configuration:

    • It uses ruff and ruff-format instead of flake8, autoflakes, isort, pyupgrade and black. This will improve the performance of pre-commit runs. Note that if some PSC want to be stricter by enabling additional ruff rules [1], it is possible by re-running "copier update --trust" and answering the corresponding question.
    • The readme fragments are converted to markdown. This makes it easier for non-technical contributors, and is also more robust (wrt subtitles formats, for instance). This is already reflected in the OCA module template [2]
    • pre-commit creates a pyproject.toml file at the root of each addon, in place of setup.py in the separate setup/ directory. This is more intuitive (each addon is a little python project) and standards based. It is also more robust as some recent version of setuptools break our setup.py (and Odoo's) editable mode in some circumstances.
    • pre-commit generates README.rst and index.hml. This is for easier review of the module descriptions in runboat.
    The migration issues had been created last week. Don't forget to announce yourself when you start migrating a module.

    In case of problem, let us know of any problem by creating an issue in the repo template project [3]

    Best regards,

    [1] https://docs.astral.sh/ruff/rules/

    --
    Stéphane Bidoul
    http://acsone.eu/


    by Stéphane Bidoul - 04:18 - 12 Nov 2023
  • Ledger for the individual related to a company
    Hi 

    If the customer is an individual without a related company, I would find the entries in the partner ledger. the same if it is a company.
    But if the customer is an individual (or a contact) related to a company, all records appear only in the partner ledger of the company itself but the individual contact ledger will be empty

    Is there an OCA module that shows whose contact this amount is for? in the partner ledger ?
    I mean a module that makes the entry appear in the contact-partner also, if he is chosen while invoicing or while creating a payment.

    Thanks alot



    by Ahmed - 10:01 - 10 Nov 2023
  • Looking for a module
    Hi, 

    use case: in SO field "Delivery Address" user can select only contacts related to partner set in "Customer".

    is there a module doing this to your knowledge?

    Thanks!

    Francesco

    --

    Francesco Foresti
    Sicurpharma Srl
    +39 333 8123 790

    by Francesco Foresti - 11:01 - 10 Nov 2023
  • e-commerce category with images
    Dear contributors,

    I've been asked for a way to render categories in e-commerce pretty much like brands in https://github.com/OCA/e-commerce/tree/14.0/website_sale_product_brand 

    Do we have a module for this?

    Thanks

    --
    Francesco Ballerini

    by Francesco Ballerini - 11:00 - 8 Nov 2023
  • Benchmark of deployment / maintenance solutions

    Dear contributors,

    I would like to propose a benchmark of deployment and maintenance solutions being used by OCA users.
    Please contribute to this discussion if you would like your solution to be part of the benchmark: https://github.com/orgs/OCA/discussions/123

    Best regards,
    Théo.


    by Théo Chapy - 03:16 - 7 Nov 2023