Skip to Content

Contributors

  • Any module to make a user to have readonly access
    Hello,

    May I check if there is module or ideas that allow readonly access for any user (for auditor).
    • Without create group/role and access right model by model.
    • All kind of buttons are disappear or not clickable.
    Thank you
    Kitti U.


    by Kitti Upariphutthiphong - 06:05 - 26 Aug 2021
  • Travis logs full of "INFO openerp_test odoo.schema: Keep unexpected index"
    Hello contributors,

    since 2 or 3 days ago max, on several OCA 12.0 builds one can see logs full of "Keep unexpected index" log messages such as:

    2021-08-22 13:29:16,607 7203 INFO openerp_template odoo.schema: Keep unexpected index ir_model_data_date_update_index on table ir_model_data
    10242021-08-22 13:29:16,607 7203 INFO openerp_template odoo.schema: Keep unexpected index ir_model_data_date_init_index on table ir_model_data
    10252021-08-22 13:29:16,608 7203 INFO openerp_template odoo.schema: Keep unexpected index ir_model_data_create_uid_index on table ir_model_data
    10262021-08-22 13:29:16,608 7203 INFO openerp_template odoo.schema: Keep unexpected index ir_model_data_create_date_index on table ir_model_data
    10272021-08-22 13:29:16,608 7203 INFO openerp_template odoo.schema: Keep unexpected index ir_model_data_write_uid_index on table ir_model_data
    10282021-08-22 13:29:16,608 7203 INFO openerp_template odoo.schema: Keep unexpected index ir_model_data_write_date_index on table ir_model_data

    --

    some examples among many:

    The strange logs are there but the build is still successful.

    The problem is that these "unexepected index" messages make the logs so verbose that the test job is killed because we are exhausting the log length quota in repos with lots of tests like OCA/l10n-brazil:
    "The job exceeded the maximum log length, and has been terminated."

    I can see no recent change in the Odoo 12.0 branch nor OCA/maintainer-quality-tools that could explain such changes. Seems there is no psycopg update either.

    Any idea how to fix this? This is blocking lot's of PR in repos such as OCA/l10n-brazil but I'm sure other repos will soon be blocked too.

    Best regards. 


    Raphaël Valyi
    Founder and consultant


    by "Raphaël Valyi" <rvalyi@akretion.com> - 06:50 - 22 Aug 2021
  • Travis .pot push issue
    Hi,

    This afternoon you may have noticed merge commands failing due to a token error when Travis tried to push the generated .pot files back to GitHub.

    For some reason our token had become invalid and a new one had to be generated and pushed to the config of all repos... which was something I had hoped to avoid since that solution was put in place.

    It is now resolved. Let me know if there are any remaining issues.

    Best regards,

    -sbi

    by Stéphane Bidoul - 06:31 - 18 Aug 2021
  • Employee contract builder in Odoo
    Hi OCA,
    
    A customer has a need for a solution that can allow HR users to 'build' 
    an employee contract by selecting texts from a predefined list of HTML 
    snippets.
    
    For example:
    
    Section A:
    
    - Clause type A (select from list)
    - Clause type A (select from list)
    - Clause type A (select from list)
    
    Section B:
    
    - Clause type B (select from list)
    
    The clauses should be poweruser-editable, translatable HTML snippets in 
    which also placeholders can be used such as in Odoo email templates: 
    {{employee.name}} and the like.
    
    It's possible to custom-build this, but is there anyone who has already 
    seen something like this in action? I know some legal firms which had 
    something like this custom-built in order to serve their customers 
    quicker and sell them auto-generated contracts based on an online survey 
    that the customer has to fill, thereby earning good money with very 
    little work; but I haven't seen it in Odoo yet.
    
    -Tom
    
    
    

    by Tom Blauwendraat - 06:21 - 18 Aug 2021
  • /ocabot rebase and improved addons table
    Hi folks!

    I just deployed a new version of our GitHub bot with the following new features:

    A new /ocabot rebase command (contributed by Miquel Raïch).

    An update to the README.md addons table generator to show the addons maintainers (contributed by Sylvain Le Gal).

    Have a nice day,

    -sbi

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

    by Stéphane Bidoul - 10:56 - 13 Aug 2021
  • Continuous / Repetitive Manufacturing
    Dear community,

    Are there anyone with experience around continuous / repetitive manufacturing and Odoo/OCA, i.e., chemical refinery plant, bio diesel plant, solar energy plant. The process with continuous stream of input material and by products.

    It does seem to me that, Odoo has nothing around this area and is not a good solution, is it?

    Thank you!
    Kitti U.

    by Kitti Upariphutthiphong - 11:35 - 7 Aug 2021
  • Odoo Customer List.

    Hello,

     

    I would like to know if you are interested in acquiring Odoo Customer List.

    Information fields: Names, Title, Email, Phone, Company Name, Company URL, Company physical address, SIC Code, Industry and Specialty (Revenue and Employee).

     

    Let me know if you are interested and I will get back to you with the counts and pricing.

       

    Regards,

                                   

    Melanie Faber

    Marketing Executive

     

    Please get back to me with your target market criteria in the subject line.

                                                                                                                                                                              

     

     

                   

     

     

     

     

     

     

     

                                            


    by "Melanie Faber" <melanie.faber@b2bexpomarketing.com> - 08:51 - 5 Aug 2021
  • Recall process
    Hello,

    I know we have RMA modules in Odoo 14 but I have a customer with a requirement prior to the RMA process.

    His recall process can start from a vendor call/email/document or an internal quality check that would trigger the recall process:

    * Create a recall with a product and serial/number
    * Provide the list of customers or stock locations of where the recalled serial/lot number is located (as a product or as an ingredient from a manufacturing order)
    * different actions based on the location:
      * scrap orders if it is still somewhere in the warehouse as a product
      * unbuild orders if it has been used in MOs
      * a customer RMA order if it has been shipped as a product or part of a finished good to a customer

    The recall would keep some basic information: created by, created on, assigned to, the state (New, In Progress, Done, Cancelled), the status of each subprocess (scrap orders, unbuild orders, RMA orders) and some actions like emailing customers.

    Do we have a module that would get me closer to those requirements?

    Thank you.

    MAXIME CHAMBREUIL
    MANAGING DIRECTOR LATAM
    R & D DIRECTOR
    O: 1.855.877.2377 EXT. 710
    M: 602.427.5632
    E: MChambreuil@OpenSourcelntegrators.com
    P.O. BOX 940, HIGLEY, AZ 85236

    by Maxime Chambreuil - 12:06 - 4 Aug 2021
  • Adopt an addon
    Hi,

    As you may have noticed, our faithful bot is now calling for addon maintainers.

    When a contributor submits a pull request on an addon that does not have declared maintainers it emits a friendly comment suggesting the author to become a maintainer.

    As a reminder, the maintainer role is described at https://odoo-community.org/page/maintainer-role.

    In a nutshell it is a way to claim that you care about a particular module. This gives you some responsibilities, but also benefits such as receiving notifications when PRs are made on the modules you maintain, and the possibility to merge pull requests without being a full PSC member.

    A huge thank you to Lorenzo Battistini who contributed this feature to the OCA GitHub bot.

    Enjoy,

    -sbi

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

    by Stéphane Bidoul - 07:40 - 2 Aug 2021
  • Tests failing - related non dependent modules and bridging module.

    Hello, all,

    I am facing an issue which I hope someone else in the OCA has encountered and solved.

    We have a module that depends on product and changes the behaviour of costing.
    We have another module, auto installed, which depends on that module and on sale_stock_margin



    So loosely, the tree is


    product
          |
          +------------------------------------------+
          |                                                    |
     sale_stock_margin                extension_module_basic
          |                                                    |
          +------------------------------------------+
           |
    extension_module_sale_stock


    In "production" everything works fine - as soon as both modules are installed, the extension module which makes them work together is installed and we are happy.

    But we are using runbot, and sale_stock_margin tests are failing.

    Essentially, I have finally worked out, that when it runs the tests for sale_stock_margin, it does not execute the code from extension_module_sale_stock.  BUT, it does run the code from extension_module_basic when it is setting the costs (unrelated to the sale_stock_margin tests, but related to their values)

    The tests work if both modules are "known" and executed, or neither.

    Obviously, we don't want to make extension_module_basic dependent on sale_stock_margin - it isn't and can be run independent.  And that is the purpose of the bridging module, to unify the behaviour of the two independent modules.

    There is no code problem being highlighted, but we would obviously like the tests to pass.

    Any help appreciated.

    Richard




    Richard deMeester

    Senior Development Analyst

    WilldooIT Pty Ltd

    E: richard.demeester@willdooit.com

    M: +61 403 76 76 76

    P: +61 3 9135 1900

    A: 10/435 Williamstown Road, Port Melbourne, Vic 3207

     

     

    Making growth through technology easy

     

     

    DISCLAIMER | This electronic message together with any attachments is confidential. If you are not the recipient, do not copy, disclose, or use the contents in any way. Please also advise us by e-mail that you have received this message in error and then please destroy this email and any of its attachments. WilldooIT Pty. Ltd. is not responsible for any changes made to this message and/or any attachments after sending by WilldooIT Pty. Ltd. WilldooIT Pty. Ltd. use virus scanning software but exclude all liability for virus or anything similar in this email or attachment.



    by "Richard deMeester" <richard.demeester@willdooit.com> - 05:50 - 30 Jul 2021
  • Looking for best approach of changing description_sale of product.template from fields.Text to fields.Html
    Hello,
    
    the users require that products description is at least somewhat "rich" - i.e. allow for some formatting that would be displayed in various places like: quotations, website, ... We already have more than 5000 products. Most of the descriptions were imported, some few hundreds have been manually edited to contain some plain text pseudo formatting. For simplicity we want to keep one description that goes out of company - i.e. quotations, website, ...
    
    We are not able to edit all of them at the same time so we need to take iterative approach to this meaning for some (long) time there will be products with plain text descriptions and some already HTML formatted (I plan to ask users to edit them whenever they add them to quotation). 
    
    However this brings forward another issue: what would be the best approach? Because few issues come to mind:
    1) I can either force different widget in product (and other) form(s) or (I guess) it should be possible to re-define the field as HTML.
    2) If I just force different widget on forms I need to modify all the web templates that use the field to use t-raw instead of t-field and there is lot of them. It's doable but if I want to keep the changes in one place (module) there would be many dependencies across many modules which I do not consider healthy.
    3) I also need to take into consideration that in the process I need to treat descriptions that weren't updated yet - i.e. put <pre> around them to get at least some formatting. Should I detect that in templates or is it possible to write a getter method that would do that automatically?
    
    So I would welcome any suggestions here. Which way would you recommend to go here?
    
    Thank you very much. Best regards
    
    	Radovan Skolnik
    
    
    

    by Radovan Skolnik - 02:41 - 30 Jul 2021
  • New module derived from Odoo CE licensing/credits question
    Hello,
    
    I have modified module website_sale_comparison from Odoo CE into website_sale_custom_info_comparison to work with website_sale_custom_info (based on PR from 9.0 by Jairo Llopis - will create PR for 13.0 soon) which uses product_custom_info. The modifications are really minimal: removed some unneeded code and templates (as these are already present in custom_info), rework of method _prepare_categories_for_display of product.product to work with custom info and slight changes to template displaying the comparison table. So basically it is 90% Odoo code, 10% of modifications.
    
    Licensing-vise it should be OK as Odoo is LGPL v3. However my understanding is that original author should be kept there if this was to be included in OCA repository. Any comments on how to do this properly? I mean shoudl I just put Odoo as one of the authors or look up commits to these files in git? Would such module be acceptable for OCA?
    
    Any comments are welcome. Best regards
    
    	Radovan Skolnik
    
    
    

    by Radovan Skolnik - 01:21 - 30 Jul 2021
  • Propose Jordi Ballester as PSC in several areas
    Hi,

    Most of you know Jordi, he has been part of the OCA board several years. As part of the board he had "superpowers" and was able to manage any repository so there was no much need to be included as PSC of many repos (even when he was effectively doing it), now that he is not in the board anymore, he doesn't belong to any PSC group and cannot help with the maintenance. I would like to propose him as PSC of the following areas:

    - Purchase

    Thumbs up for all or some?

    Thank you!

    Regards,

    --
    Lois Rilo Antelo
    Odoo consultant at ForgeFlow S.L.
    lois.rilo@forgeflow.com | https://www.forgeflow.com
    Twitter: /LoisRForgeFlow


          

    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 Lois Rilo Antelo - 11:20 - 29 Jul 2021
  • Propose João Marques as PSC for several areas
    Hi all,

    It's been a while since my colleague João is with us, and he has done a lot of work in several areas, so I'm requesting if you consider his inclusion in the proper PSCs. Here you have the pull requests he has made on such PSCs:

    Tools:

    https://github.com/OCA/calendar/pull/29
    https://github.com/OCA/interface-github/pull/73
    https://github.com/OCA/interface-github/pull/72
    https://github.com/OCA/odoo-module-migrator/pull/55
    https://github.com/OCA/odoo-module-migrator/pull/53
    https://github.com/OCA/server-auth/pull/250
    https://github.com/OCA/server-auth/pull/249
    https://github.com/OCA/server-auth/pull/242
    https://github.com/OCA/server-auth/pull/241
    https://github.com/OCA/server-tools/pull/1920
    https://github.com/OCA/server-ux/pull/365

    Document:

    https://github.com/OCA/dms/pull/115
    https://github.com/OCA/dms/pull/47

    But also a lot of reviews:

    https://github.com/OCA/dms/pull/51
    https://github.com/OCA/dms/pull/67
    https://github.com/OCA/dms/pull/71
    https://github.com/OCA/dms/pull/75
    https://github.com/OCA/dms/pull/92
    https://github.com/OCA/dms/pull/100
    https://github.com/OCA/dms/pull/112

    Banking:

    https://github.com/OCA/account-payment/pull/427
    https://github.com/OCA/account-payment/pull/401
    https://github.com/OCA/account-payment/pull/384
    https://github.com/OCA/account-payment/pull/383
    https://github.com/OCA/account-reconcile/pull/370
    https://github.com/OCA/account-reconcile/pull/367
    https://github.com/OCA/bank-payment/pull/817
    https://github.com/OCA/bank-payment/pull/816
    https://github.com/OCA/bank-payment/pull/802
    https://github.com/OCA/bank-payment/pull/798
    https://github.com/OCA/bank-payment/pull/797
    https://github.com/OCA/bank-payment/pull/796
    https://github.com/OCA/bank-payment/pull/795
    https://github.com/OCA/bank-payment/pull/786
    https://github.com/OCA/bank-payment/pull/783
    https://github.com/OCA/bank-payment/pull/782
    https://github.com/OCA/bank-statement-import/pull/365
    https://github.com/OCA/bank-statement-import/pull/354
    https://github.com/OCA/bank-statement-import/pull/322

    Accounting:

    https://github.com/OCA/account-financial-reporting/pull/783
    https://github.com/OCA/account-financial-reporting/pull/782
    https://github.com/OCA/account-financial-reporting/pull/781
    https://github.com/OCA/account-financial-reporting/pull/780
    https://github.com/OCA/account-financial-reporting/pull/777
    https://github.com/OCA/account-financial-reporting/pull/775
    https://github.com/OCA/account-financial-reporting/pull/758
    https://github.com/OCA/account-financial-reporting/pull/749
    https://github.com/OCA/account-financial-tools/pull/1183
    https://github.com/OCA/account-financial-tools/pull/1151
    https://github.com/OCA/account-financial-tools/pull/1112
    https://github.com/OCA/account-invoice-reporting/pull/166
    https://github.com/OCA/account-invoice-reporting/pull/155
    https://github.com/OCA/account-invoice-reporting/pull/152
    https://github.com/OCA/account-invoicing/pull/978
    https://github.com/OCA/account-invoicing/pull/976
    https://github.com/OCA/account-invoicing/pull/908
    https://github.com/OCA/account-invoicing/pull/895
    https://github.com/OCA/account-invoicing/pull/856
    https://github.com/OCA/credit-control/pull/115
    https://github.com/OCA/account-analytic/pull/366


    Thanks for considering it.


    Regards.


    by Pedro M. Baeza - 10:00 - 29 Jul 2021
  • New set of module "Requests".
    Dear community,

    Currently I am working on a set of modules which we call "Requests" for a project. And want to check whether there is interest in these modules.

    At the surface it is quite similar to the "Approvals" of Odoo Enterprise. But in more detail it is like Approvals + Goodies of OCA. So I would say, it is a much better version of the Approvals.

    The current list of modules are,
    • requests --> the base module. You can think of it as the envelope where the user will put in their one or many requests and pass through the approval process in one go.
    • requests_tier_validation -> extend request for base_tier_validation
    • requests_exception -> extend request for base_exception
    • requests_custom_info -> extend request for base_custom_info
    • requests_operating_unit -> extend for operating_unit
    • requests_???
    And more documents that can be in the request envelope.
    • requests_hr_expense -> allow adding expense inside the request envelope
    • requests_hr_advance --> allow adding employee advance inside the request envelope
    • requests_purchase_request -> allow adding PR inside the request envelope
    • requests_???
    Small organizations may not need this, but I think bigger organizations that need more control might find it useful, whether it is Expense Request, Purchase Request, Vacation Request, or even Request to create master data, etc...
    • As a central place for all requests, and approval progress (instead of going through many documents).
    • Streamline the way users go through approval process (by using tier validation, or any other extension in the future)
    • Approval can be done for the combined amounts of all their requests for the same, ie.., Trip. (instead of fragmented by document)
    • The request (as a template) controls how data in documents are filled. For example, a "Taxi Expense Request", helps create an Expense Sheet with all data filled, except amount.

    image.png

    image.png

    My question is, which Repo should these modules go to? Or should it has a new repo. (I think it is more employee self service like).

    Thanks
    Kitti U.

    by Kitti Upariphutthiphong - 09:01 - 29 Jul 2021
  • odoo13 unittest: installed modules not available while testing
    Hi there
    
    I try to add some functionality to the payroll.
    
    Now when I try to access the payroll stuff from within a test like so:
    
    self.env['hr.payroll.structure']
    
    I get a traceback:
    
    Traceback (most recent call last):
       Debug Console, prompt 68, line 1
         import base64
       File 
    "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/api.py", 
    line 463, in __getitem__
         return self.registry[model_name]._browse(self, (), ())
       File 
    "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/modules/registry.py", 
    line 177, in __getitem__
         return self.models[model_name]
    builtins.KeyError: 'hr.payroll.structure'
    
    However, when I do exactly the same when not being in a unittest, everything 
    works fine.
    
    What could be the reason?
    
    I am running on an ubuntu:
    
    Distributor ID:    Ubuntu
    Description:    Ubuntu 20.04.2 LTS
    Release:    20.04
    Codename:    focal
    
    using Python:
    
    python
    Python 3.8.2 (default, Feb 25 2020, 13:04:52)
    [GCC 9.2.1 20200224] on linux
    
    thanks for your input
    
    Robert
    
    
    

    by robert - 05:36 - 28 Jul 2021
  • Proposing myself for Logistics PSC
    Hi everyone,
    
    I would like to be part of the Logistics PSC. I contribute to OCA for 
    some years now and lately I was especially involved in the WMS stack.
    
    https://github.com/sebalix/
    
    https://github.com/OCA/wms/pulls?q=is%3Apr+author%3Asebalix+sort%3Aupdated-desc+
    https://github.com/OCA/stock-logistics-workflow/pulls?q=is%3Apr+author%3Asebalix+sort%3Aupdated-desc+
    https://github.com/OCA/delivery-carrier/pulls?q=is%3Apr+author%3Asebalix+sort%3Aupdated-desc+
    
    Kind regards,
    
    
    -- 
    Sébastien Alix
    Business Solutions Odoo Developer
    
    Camptocamp France SA
    https://www.camptocamp.com/
    
    

    by Sébastien Alix - 05:45 - 26 Jul 2021
  • Consulting about Offline Surveys
    Hi there!

    I have a client that needs to take surveys using the survey module. The issue is that he will need to take surveys offline. Is there any odoo app to do that?

    I mean, a way to take surveys in offline mode and then synchronize data with the odoo server.

    Thanks in advance.

    Regards,

    Mohamed Zohdy

    Application Consultant

    Mobile:

    (+2) 01100592993

    Email:

    mohamed.zohdy@newsmartegypt.com

    Website:

    www.newsmartegypt.com

    Address:

    92 Omar Ibn El Khattab Street, Heliopolis, Cairo, Egypt


    by "Mohamed zohdy" <mohamed.zohdy@newsmartegypt.com> - 03:55 - 25 Jul 2021
  • Account Asset Management: Manual editing / entry of depreciation board
    Dear OCA contributors,

    We are introducing the ability to manually alter the depreciation board of an asset. 

    Some companies may need to manage a custom depreciation board because the depreciation schedule is too custom, or because it may have evolved over time and cannot follow a single method. In those cases it's better to manage a manual depreciation schedule.

    I am organizing a video conference today at 12PM CET to explain those changes. You can join here:  https://meet.google.com/dgw-bahk-nby

    The associated PR is here: https://github.com/OCA/account-financial-tools/pull/1208

    Feel free to join!

    Regards,
    --
    Jordi Ballester Alomar 
    CEO & Founder  
    Spain: (+34) 629 53 07 07 | USA: (+1) 646 980 46 59 | Denmark: (+45) 78 78 21 89


          

    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 Jordi Ballester Alomar - 10:15 - 23 Jul 2021
  • Computed customer lead time
    Hello all,

    I am at a third project where we need a feature that seems to be missing in Odoo and OCA or I'm missing something really bad here.

    Customer lead time is set in default Odoo as a static value on the product variant and it just adds this value in days on top when confirming the sales order (without working days but OCA supplier_calendar can help here). 

    All the other values which delay a delivery (vendor lead time, delivery lead time, security days etc) work backward i.e: to deliver order X to the customer you have to set a desired delivery date to which you get the date when you SHOULD order to achieve it and not the way around.

    It happens many times that we need this computation from today in order to give estimates to backend users of when a delivery will be made or for frontend users on the website.

    Does anyone know of any module or feature I'm not aware of? What am I missing? :)

    Regards,
    Paul

    by Paul Catinean - 09:56 - 23 Jul 2021