Skip to Content
  • Partner Types: refactor partner_firstname and introduce partner_type_base

    Hi,

     

    I would like to promote/discuss a small res.partner refactoring I’ve done on partner_firstname.

     

    We are currently unhappy that invoice or shipping address has a firstname. Shipping addresses sometimes needs only a department name, but not necessary Firstname/Lastname.

    Therefore I would like to make the UI more flexible and add an overloadable attribute is_individual, where you can control whether firstname/lastname should be visible or not. Other modules could overload the _compute_contact_type method to control the behavior of the different address types.

    I also changed the invisible attributes of the UI elements to is_individual and is_address_readonly instead of using directly the address type in the xml views.
    The is_address_readonly can be used to control whether the address information is editable for each type. We e.g.  added another address type "contact_address" (e.g. for homeoffice addresses) which is is_individual == True, but also has an editable address like address type "other". We use "other" for office addresses of a company and therefore changed the classification to is_individual == False. With the change of this PR, we just need to adapt the _compute_contact_type method and all the UI fields are rendered accordingly.

    With this change, it is also easier to add additional types like “service” which we use for “support@” addresses. They usually don’t have an address (is_address_readonly== True, is_individual==False) and by configure these attributes, the UI adapts correctly.

     

    What do you think of these changes? Feedback highly appreciated.

     

    [17.0][ADD] partner_type_base by CRogos · Pull Request #1891 · OCA/partner-contact

     

    Best regards,

     

    Christopher


    by Christopher Rogos - 01:56 - 16 Nov 2024
  • OWL training
    Dear community.

    I have seen a post on LinkedIn about odoo technical training.

    I am certain that the community includes the best professionals to provide training for odoo.

    I have experience with OWL framework and I am using it inside and outside odoo.

    I ask if the training responsible leaders allow me to share my experience in OWL for developing a professional single page application.

    Despite I am not an OCA member yet, but I am an active contributor and I have assisted in fixing bugs in some OCA projects recently, so that I like to take further step to train and teach new odoo developers or even share my experience in YouTube video series or blog posts or GitHub repository.

    I am glad to share one of my apps that uses OWL as frontend framework which is my business website:

    Description video:

    by Mohamed Alkobrosly - 09:56 - 16 Nov 2024
  • Automatically Generating Serial Numbers or Lots Upon MO Start in Multi-BoM Scenarios

    Dear OCA Community,

    I hope this message finds you well.

    I am reaching out to inquire about a specific functionality in Odoo regarding serial numbers and lot tracking in manufacturing processes. My use case involves the following scenario:

    When starting a Manufacturing Order (MO) for a product, I would like to automatically generate a serial number (or lot number) for the final product. The product in question has multiple Bills of Materials (BoMs), and during the manufacturing process, it might be necessary to associate serial numbers with the components that make up the BoM.

    Ideally, the serial number or lot of the final product should retain the ability to reference and track all the serial numbers of the sub-products used in its production. This would be extremely useful for traceability and managing complex manufacturing flows.

    Is there any existing functionality or module within Odoo or OCA that can address this requirement? Alternatively, any guidance or recommendations for customization to achieve this would also be greatly appreciated.

    Looking forward to your insights and suggestions.

    Thank you in advance for your help!

    Best regards,

    Francesco

    by fra.dibattista - 09:41 - 15 Nov 2024
  • OCA Verticals - Who to contact?
    Hi OCAs,

    Who can I contact to talk to and contribute to the OCA Verticals?

    A couple of Verticals are listed, but most of them don’t have contributors or representatives.

    The GitHub OCA vertical:


    In other words, who is in charge or the promotor of the OCA Verticals?



    Thanks in advance.



    Warm regards,

    Michel Stroom
    -- 

    Office Everywhere
    Business Partner Odoo

    t: +31 6 53360677
    e: mstroom@office-everywhere.com
    w: Office-Everywhere.com



    by Michel Stroom - 08:21 - 15 Nov 2024
  • MediData interface (Switzerland)
    Dear community members,
    
    is there a module (open or closed soucre) which provides an interface with MediData? https://www.medidata.ch/
    
    Kind regards, Dave
    
    
    
    --
    David Brühlmeier
    Head of IT, Sozialinfo
    
    
    
    
    
    
    
    
    

    by David Brühlmeier - 02:25 - 13 Nov 2024
  • Real time GPS tracker
    Dear community members.

    I am asked by a customer to provide him with a module to track his field employees location in real time using odoo.

    Thanks in advance

    by Mohamed Alkobrosly - 09:56 - 13 Nov 2024
  • Assistance Needed: Searching for Specific Products in Sales Orders (Odoo CE 17.0+)

    Dear Contributors

     

           I have a question regarding the search for one2many fields and would like to seek assistance from the community.

          

           Odoo VersionCommunity 17.0+

          

           I created some products:

    l   Blue xxxsome_elsexx T-shirt

    l   Blue xxxsome_elsexx Desk

    l   White xxxsome_elsexx T-shirt

    l   White xxxsome_elsexx Desk

     

    Then, I randomly created some sales orders using these products. Now, if I want to search for the product "Blue xxxsome_elsexx Desk" within sales orders using this domain:

    [("order_line.product_id.name", "ilike", "blue"),(("order_line.product_id.name", "ilike", "desk"))]

     

    I expect to get sales orders only containing the productBlue xxxsome_elsexx Desk

    However, the search results return sales orders containing Blue xxxsome_elsexx T-shirt and White xxxsome_elsexx Deskbut not those containing Blue xxxsome_elsexx Desk

     

    I am not sure if I have expressed this clearly. You can test the scenario with the sales orders I created in the runbot instance, and there are a few images to help with understanding.

    Testing environment on runbot: https://70500325-17-0-all.runbot143.odoo.com/web?debug=1#action=988&model=sale.order&view_type=list&cids=1&menu_id=660

     

     

     

     

           Thank you for your assistance.

    Best regards,

     

     

     

    feihu.zhang@live.com


    by feihu.zhang - 07:01 - 13 Nov 2024
  • Click on line in tree view that's embedded in form to change context value for another field on the form

    Hello,


    I am trying to solve something like this: ona form I ahve 2 fields displayed:

    1) tree view of one2many field, where each record has a field of type Datetime - let's call these events

    2) tree view of another one2many field that is computed and depending on the datetime in context - let's call these values


    What I would like to try to achieve is that when I click on one of the events, the date from it is applied to context of values and that is recomputed/refreshed. I can achieve something similar with buttons with actions on events but that reloads the screen. Any idea?


    Thank you very much. Best regards


        Radovan Skolnik


    by Radovan Skolnik - 06:06 - 11 Nov 2024
  • [Odoo14 CE] Adjust reserved quantities for additional lots on detailed operations
    Hi, 

    I am testing a very basic scenario where I have a "Product x" that I've received in 2 lots: 10 units  from lot-01 and 10 units from lot-02. 

    I then create a delivery order where 10 units of "product x" are requested.

    I mark delivery order as "todo" and while checking availability the automatic reservation is going to add a single "detailed operation" line with 10 units reserved of "product x" from lot-01, all good. 

    But let's say I want to split delivered units by assigning 5units from lot-01 and 5 units from lot-02: I'm able to create the additional line and link lot-02 to it, but I'm not able to set adjust the reserved quantity on the line (although i'm able to set the done quantity). 

    This is generating some inconsistencies e.g. when I print "picking operations" before the validation of the delivery order. I wonder if it's possible to manually adjust the reserved quantity on Detail Operation to cover this situation, do we have a module or maybe this can be done somehow and I am missing something?

    Regards
    --Francesco Ballerini

    by Francesco Ballerini - 01:25 - 11 Nov 2024
  • Timeout Error
    I wonder how to run tests successfully without encountering timeout error.

    I saw this error with all tests that need connection with the testing server:

    2024-11-07 18:58:57,184 23973 ERROR test_api_2 odoo.addons.fastapi_auth_jwt_demo.tests.test_fastapi_auth_jwt_demo: ERROR: TestEndToEnd.test_forbidden
    Traceback (most recent call last):
      File "/home/kobros/Workspace/odoo16/env16/lib/python3.10/site-packages/urllib3/connectionpool.py", line 445, in _make_request
        six.raise_from(e, None)
      File "<string>", line 3, in raise_from
      File "/home/kobros/Workspace/odoo16/env16/lib/python3.10/site-packages/urllib3/connectionpool.py", line 440, in _make_request
        httplib_response = conn.getresponse()
      File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse
        response.begin()
      File "/usr/lib/python3.10/http/client.py", line 318, in begin
        version, status, reason = self._read_status()
      File "/usr/lib/python3.10/http/client.py", line 279, in _read_status
        line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
      File "/usr/lib/python3.10/socket.py", line 705, in readinto
        return self._sock.recv_into(b)
    TimeoutError: timed out

    Any help, please?

    by Mohamed Alkobrosly - 08:53 - 7 Nov 2024
  • demo is not installed
    Hi Contributors.

    I am trying to run and fix fastapi_auth_jwt_demo module, it should depend on auth_jwt_demo module, but I found that only auth_jwt_demo module is not installing demo data.

    I tried to install it separately using the demo flag, demo keyword in the configuration file, even with a demo database.

    I see only auth_jwt_demo is not installing the demo, other modules can install demo data.
    If I change the type of data from "demo" to "data" in the manifest they get installed.

    I can modify the manifest and make a pull request to make fastapi_auth_jwt_demo be installed correctly especially when it depends on data from auth_jwt_demo, the only problem is that these data are demo and not installable, but if I modify the manifest everything will be fine.

    Thanks

    by Mohamed Alkobrosly - 07:16 - 7 Nov 2024
  • Navigate invoice lines
    Hi,

    is there a module to navigate invoice lines similar to https://github.com/OCA/sale-workflow/tree/16.0/sale_order_line_menu ?

    I'm looking for v14 but any version is fine. 

    Thanks!

    --

    Francesco Foresti
    Sicurpharma Srl
    +39 333 8123 790

    by Francesco Foresti - 04:36 - 7 Nov 2024
  • hr_expense_invoice
    Hello. Is it expected that the hr_expense_invoice module will be upgraded to version 18 in the near future?

    by Ira Grytsyshyna - 08:46 - 5 Nov 2024
  • Git Aggregator on Doodba
    Hi, I am configuring an instance with Doodba, I am using the doodba copier template to set up the instance
    I just find out how to use the git aggregator by launching these commands

    export DOODBA_GITAGGREGATE_UID="$(id -u $USER)" DOODBA_GITAGGREGATE_GID="$(id -g $USER)" DOODBA_UMASK="$(umask)"
    docker-compose -f setup-devel.yaml run --rm odoo

    which I found in setup-devel yaml file file.

    I have a few questions:
    1 - is it actually the proper way to use it on the project ? (maybe it should automatically start when launching docker-compose, but it's not my case)
    2 - I see that by using the aggregator I still have repositories created in the host, so they are created outside the container as volumes then recreated in the container.
    Is there a way to avoid keeping remotes (source code, oca repos etc..) on the host and directly create them only inside the container at build time with the aggregator?

    Really appreciate any kind of help.

    Regards
    -- Francesco Ballerini


    by Francesco Ballerini - 11:31 - 3 Nov 2024
  • Picking from sublocation when doing internal transfer and Inventory frequency monthly

    Hello,


    in scenario where putaway rules are setup to move certain incoming products / categories to sublocation (of the main warehouse) when there is sale order, correct stock move is created from that sublocation as part of stock picking. Now I would like to do the very same thing when doing internal transfer from the main warehouse to some other location. Is it possible somehow?


    Also is there a module to allw to schedule inventory frequency not for certain number of days but for example to last day of the month?


    Thank you very much. Best regards


        Radovan Skolnik


    by Radovan Skolnik - 06:26 - 3 Nov 2024
  • Can you share your OCA job position (as a member, delegate, board members and or contributor) on LinkedIn?
    Dear OCA Members, Delegates, Board Members, and Contributors,

    Here’s an easy idea to help spread the word about the OCA.

    Recently, I've noticed a growing trend - 14 now - have updated their LinkedIn profiles to reflect their positions at the OCA, and I think that’s fantastic! 
    I’d like to encourage everyone to consider doing the same.

    Whether you’re a member, delegate, board member, contributor, or hold a combination of these roles, adding your OCA position to your LinkedIn profile can significantly boost both your visibility and that of the OCA.

    Yesterday, I added my new job position at OCA as a Member on LinkedIn. I’m also a contributor, but since I recently post daily about the OCA and ask for new members to join, I opted to list only "Member.” By adding your OCA position to your LinkedIn profile, you not only showcase your involvement with our vibrant community but also help raise awareness about the OCA and the impactful work we do.

    If you have any privacy concerns or prefer not to share your position on LinkedIn, that’s completely understandable!

    If you feel comfortable, I encourage you to update your LinkedIn profile with your position at the OCA.
    It takes just a few moments and can make a lasting impact on our community.

    Let’s keep spreading the word about the OCA and the amazing work we’re doing together!
    It’s also great to see more LinkedIn posts about the OCA lately.

    Thank you in advance for considering this.
    I fully respect your privacy if adding your OCA position on LinkedIn isn’t for you.


    Warm regards,


    Michel Stroom
    Helping promote the OCA to get more members and sponsors


    Note / Remark / P.S.:
    I apologize in advance if this email shouldn’t be sent to the OCA contributors email list, but I didn’t know how else to get this message across.


    by Michel Stroom - 03:10 - 30 Oct 2024
  • Syncing Attendance Between Two Odoo Instances

    Hi OCA Contributors,

    I’m looking for a way to sync the Attendance module between two separate Odoo instances. Has anyone worked on something similar before? We’ve started a small custom module using Odoo RPC, but any advice or pointers would be really helpful.

    Thanks a lot in advance!

    Best,

    --
    Eicher Stéphane
    Co-fondateur / Ingénieur logiciel
    +41 32 552 27 77



    by Stéphane Eicher - 08:10 - 29 Oct 2024
  • Cash drawer support
    Dear,
    There is some Odoo Community modules available offer support for cash draw machines, such  Glory, and other similar cash drawer systems  and black box required in Belgian restaurants available in entreprise édition

    Thanks 
    Abdrahman elkafil 
    Libertysoft 
    Tel +32499164133

    by Abdrahman Elkafil - 11:15 - 28 Oct 2024
  •  IDP initiate with SAML
    Hi all,

    We are working on IDP Initiated flow with SAML auth.
    Someone did a similar flow?

    Found this related OCA module:
    https://github.com/OCA/server-auth/blob/16.0/auth_saml/README.rst

    --


    by Hed Shefer - 02:50 - 27 Oct 2024
  • recurring payments
    Hi!
    I'm using OCA Contracts and am interested in recurring payments for 
    these via Stripe or PayPal. As far as I know there is no such build-in 
    feature for Community Edition. I found OCA's contract_payment_auto for 
    10.0 [1] (PR for 12.0 [2]) which seems to do what I want, as well as a 
    few paid modules which look incompatible with OCA's Contracts. I'm 
    wondering what is the best approach to tackle this in 15.0. Would it be 
    feasible to migrate contract_payment_auto to 15.0 or is there a good 
    reason why this hasn't been done yet? Any better suggestion?
    
    Best regards
    Jan
    
    [1] https://github.com/OCA/contract/tree/10.0/contract_payment_auto
    [2] https://github.com/OCA/contract/pull/798
    

    by Jan Suhr - 05:36 - 25 Oct 2024