Skip to Content
  • New PSC role_policy

    As a follow-up to today’s Role Policy presentation I propose to move this work to a new OCA project.

     

    cf.

     

    Initial PSC members would be

    • Myself

    • Kevin Graveman

    • Els Van Vossel

    • Simon Janssens

     

    Please let me know if you agree/disagree.

     

    Regards,

    Luc

     

    www.noviat.com

    Rusatiralaan 1, 1083 Brussel

    +32 2 808 86 38

     

     


    by Luc De Meyer. - 05:30 - 15 Oct 2020
  • V14, python version
    Hi all,

    The last very stable python is 3.8 (first version in November 2019), 3.8.6 in September 2020

    Odoo 14.0 released in October supports python 3.7 and upper but that's not without consequence

    We can ask ourself what is the benefit to support 3.7.

    If yes, we have to deal with this kind of code in our OCA 14.0 module like here

    Maybe there is a better way to manage this version incompatibility but if not
    it can be difficult to ensure 3.7 compatibility in our modules

    Without this compatibility code we have this kind of error

    Are you really sure that supports 3.7 is good thing for our client in a fresh new project 14.0 while python 3.8 is very stable ?

    Even in debian targeted version we may upgrade to 3.8

    What do you think ?

    Regards

    David BEAL - akretion.com
    Consultant
    Odoo Intégration / Développement

    by David BEAL - 09:26 - 14 Oct 2020
  • OCA Days - Zoom hosts and moderators - still need a few more
    Hi folks,

    OCA Days are nearly upon us and we do need a few extra hands on deck to "host/moderate", help with the Zoom technical side of things over the two days. There are still a few time slots left.

    If you feel you can help for a couple of hours that would be amazing, please pop your name on the schedule with your email address so we can get in touch.

    Thanks in advance,
    Rebecca

    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 06:21 - 14 Oct 2020
  • unsubscribe
    Hi all!

    Please unsubscribe this email from all the OCA mailing lists please. I've already try it several times but I keep receiving new emails.

    Thank you!

    --
    Gabriel.

    by Gabriel Davini - 04:45 - 13 Oct 2020
  • OCA Days - Sprint Document
    Hi,

    If you will participate in the code sprint, please add topics you would plan to work on in this document: https://docs.google.com/document/d/1VHx8kKg3THAbxmx89wHZRa35_YfcU8F_g2E9sMlHnTU/edit?usp=sharing

    Do not forget to join the discord server for real time collaboration: https://discord.gg/tNby4ku

    If you need specific additional channel topics on discord, just ask there in the #general channel.

    Best regards,

    -sbi

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

    by Stéphane Bidoul - 04:11 - 13 Oct 2020
  • module migration
    Hi all,

    I have a small question about contributions in module migration.

    What is the minimal work that implies adding my name in the contributors section?

    - change version number
    - minimal fix on test or doc
    - other
    - substantial fix

    Potentially when I know the OCA workflow, I may migrate a module with only functional knowledge and luck.

    Thanks to share your opinions

    Regards

    David BEAL - akretion.com
    Consultant
    Odoo Intégration / Développement

    by David BEAL - 01:11 - 13 Oct 2020
  • calendar colors
    Hello community

    Is there a module or anything that's already been done to select the color of a calendar event according to a type in recent versions (looking for v13.0)?
    For example, in the event modules, the colors are used according to the event type but there's no way to say Type1=red and Type2=blue. This could also be useful in the leaves module to display leaves according to their type (paid leave=green, sickness=red).

    I couldn't find anything useful except old tutorials on how to do it on version 8.0

    Thanks

    --
    camptocamp
    INNOVATIVE SOLUTIONS
    BY OPEN SOURCE EXPERTS

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

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

    by Akim Juillerat - 12:05 - 13 Oct 2020
  • weblate
    Hi would like to add translation to weblate but I can't save translates terms.
    Is it a permission setting issue?
    If yes who has admin right and could help me?
    tnx

     --
    Yves Goldberg
    --


    by Yves Goldberg - 08:00 - 13 Oct 2020
  • Migration to v14 requirement - readony / invisible

    Hello All,


    Some XML modifiers in views disappear: invisible and readonly. They should be assigned through general modifier attrs.

    Can anyone shed light on this?  I see no reference in base Odoo to deprecation of these modifiers?

    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> - 02:31 - 13 Oct 2020
  • OCA - 2020 Delegates Campaign - Now Open


    Dear Odoo enthusiasts, OCA members and contributors,


    The 2020 OCA Delegates Campaign is open. From now and until October 23rd 2020, you can apply as an OCA Delegate.


    Why?


    The Delegate Assembly is the Association’s supreme authority. Each Delegate member is entitled to one vote at the Delegate Assembly. Decisions of the Delegate Assembly are taken by a majority vote of the Delegate members present and voting. For further details, please read the Bylaws.


    How?


    To apply as a candidate, you have to:

    Campaign will be closed on October 23rd, 2020.


    Then what?


    The vote will be open from October 26th to November 6th, 2020. Current OCA Delegates will have to vote for 10 new Delegates among the candidates. 


    The results of the election will be announced on those lists on November 7th, 2020. 


    The 10 new Delegates will then take part with the existing Delegates in :

    • the 2020 OCA Board Member Campaign from November 9th to 20th, 2020

    • the 2020 OCA Financial Auditor Campaign from November 9th to 20th, 2020

    • the 2020 General Assembly from November 23rd to December 2nd, 2020.


    Should you have any questions, please get in touch.


    Warmest regards, Rebecca

    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 02:06 - 12 Oct 2020
  • Odoo and Snaplogic
    Hi Folks,

    I am wondering if someone has already connected Odoo with Snaplogic?
    Is there something available or on-going around the community?

    Thanks for your help.

    __________________________________________
    Cédric Pigeon
    Project Leader
    Acsone SA, Succursale de Luxembourg

    Acsone sa/nv
    Boulevard de la Woluwe 56 Woluwedal | B-1200 Brussels  | Belgium
    Zone Industrielle 22 | L-8287 Kehlen | Luxembourg
    www.acsone.eu
    ___________________________________________

    by Cédric Pigeon - 10:40 - 9 Oct 2020
  • 14.0 branches
    Dear fellow contributors,

    The 14.0 branches are being created as I post this message.

    They are initialized from our new template repository that was created during the OCA Days sprint back in May [1]. This template is essentially a refreshed version of the linter configurations we have in 13.0. This new mechanism should make it easier to apply improvements across all repos in the future.

    Special thanks to Jairo Llopis for his work on this topic.

    I plan to provide a detailed walkthrough of all this during my OCA Days talk next week [6]. In the meantime, here are a few important things to note.

    1. The project description in README.md must be updated manually by PSCs.

    Since our project-level README were manually maintained and updated over a long period, it is difficult to reliably extract the variable content from them. So they are created afresh, and PSC are invited to update the repo description within the dedicated section of README.md. Please do not change the header and footer manually.

    2. Travis installs dependencies with pip, including addons of other repos

    This mechanism (activated by MQT_DEP=PIP in .travis.yml) does not use oca_dependencies.txt nor requirement.txt. It relies on __manifest__.py to discover dependencies from the 'depends' and 'external_dependencies' keys. Dependent addons are installed from the OCA wheelhouse [3], and python libraries are installed from PyPI.

    The main expected benefits are:
    - less redundancy (the manifests are enough to discover dependencies)
    - reduce rippling effects to unrelated repos when an addon or python library does not install or misbehaves, since only the dependencies really needed by a repo are installed

    If a PR depends on an unmerged addon or PR, create a file named test-requirements.txt at the repo root containing a line like this:


    This mechanism has been tested on several repos in 13.0 and should be reliable. In case of problem, mention me in the PR and/or create an issue in OCA/maintainer-quality-tools repo. Alternatively, you can restore the old behaviour by removing the MQT_DEP=PIP line from .travis.yml. For the curious, the code of the new mechanism is in the OCA/m-q-t repo [4]

    3. If you need local changes to the dotfiles let's discuss them

    There are variables in the dot files, including .travis.yml [2]. To update them, the best way is to install copier [5], run "copier update" from the repo root, and answer the questions.

    If you need other changes, you can apply them locally to resolve urgent situations, but that may make updates harder. So please open an issue in [1] to discuss if changes need to be made to the template.

    As usual, don't hesitate to let me know of any issue.

    That's all for now, folks. Happy migration!

    -sbi


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

    by Stéphane Bidoul - 09:21 - 8 Oct 2020
  • Is there a way to create account.analytic.line from stock.move?
    Hello,
    
    we would like to use analytic accounts to track profitability of individual 
    sales. So I'd setup automatic creation of analytic account on confirmed sale 
    orders which would be propagated to invoices. This would cover the credit 
    side. What I am struggling with is the debit side - i.e. costs of products. 
    One way would be adding analytic account on POs/POLs but that is not feasible 
    because we can have products in stock from past which we decide to sell. So my 
    idea is to generate account.analytic.line records from stock.moves and assign 
    them value according to average value. Are there any modules that would 
    support this? Or should I choose different approach?
    
    Thank you. Best regards
    
    	Radovan Skolnik
    
    
    

    by Radovan Skolnik - 10:15 - 8 Oct 2020
  • OCA 2020 AGA - starts next week with the Delegates Campaign

    Hello OCA Contributors,

    I hope this year has been treating you well. We are looking forward to seeing many of you online at the OCA Days next week.

    I am writing to let you know that the 2020 Annual General Assembly will commence on Monday 12th October:
    • the first step is for current paid members to apply for delegate candidacy 
    • following this the existing paid delegates will vote for 10 new delegates
    • once we have our new delegates, all delegates new and existing will be able to apply for OCA board candidacy and vote in the AGA.
    If this is something you have been thinking about please make sure your membership is up to date and look out for the details on how to apply as a delegate next week.

    Any questions, please get in touch.
    Warmest regards,
    Rebecca

    -- 
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 04:10 - 8 Oct 2020
  • New PMS Proposal

    Hi!

    We have been working for two years on a Property Management System on Odoo. These modules are used to manage reservations for establishments of all kinds, hotels, tourist apartments, rural houses...
    and we have 42 establishments in production for two years (including Sada Marina in Galicia where the OCA 2019 codesprint was made! ;)

    We are currently committed to a major refactoring and upgrade to V14 of the entire base, we are working on it, and we will have it ready for December.

    The work for December includes:

    1. Reservations Management
    2. Revenue Prices
    3. Onboard Services
    4. Completed generic API REST based on odoo-connectos -thanks!!- (availability, reservations, restrictions, partners, pricelists, smartlocks)
    5. Specific implementation API with Channel Manager Wubook (what allow us connect with booking.com, expedia and many other OTAs..
    6. Customer Portal for Pre-Check in and invoice wizard


    Specifically, this is the repository on which the refactoring is being worked: https://github.com/commitsun/pms

    The original repository, base for the refactoring and which is currently in production on V11 is: https://github.com/hootel/hootel

    The work will still be WIP for the OCA days, but it would make me very happy to see it at OCA from there.

    The current vertical-hotel repository is incompatible with the development of this pms, and although when we started working on this project, two years ago, we tried to do it from the current vertical hotel (of those not yet in OCA), we had to start from zero for not being able to make this development compatible with the structure and flows that we have been learning in the sector (for example, to connect it with sales channels such as booking.com, expedia, etc ...). I do not know if the option of having two independent repositories is valid, but it is the only one that occurs to me to be able to transfer this work to OCA.

    I hope it is possible to see a new pms repository in OCA from the 15th of this month, any doubt or question, you tell me



    Thank you very much for your attention and for all your work that has made this project possible!


    by Darío Lodeiros - 10:25 - 6 Oct 2020
  • OCA Days - Zoom hosts - we need your help
    Hello OCA Contributors,

    We need a bit of extra help for the OCA Days.

    We do need a few more hosts/moderators - basically we need two people on each track throughout the day (we have 2 tracks). The plan is to break this into 3-4 hour blocks through the day to share the load.

    We need one person to run the technical side and one person to moderate the talks.

    If you feel you are able to help out over the OCA Days to do this please get in touch ASAP and I will add you to the list.

    I look forward to hearing from you.
    Warm regards,
    Rebecca


    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 04:06 - 6 Oct 2020
  • [Delivery]: Scan packages instead of products in Shipping
    Hi all contributors, 

    In Odoo 13 CE, I have implemented the 3 steps delivery process.
    In this process we scan products or the picking itself in order to manage quantities...
    In Pack, products are packed in packages so that in Ship, operators should scan the packages and make sure everything is Ok. That is to say, at this level, operators shouldn't scan products of each package because: 

    1- Package is already done and Zebra labels are already printed and attached.
    2- Even if 1 is not done, scanning all products again is time consuming and should be held by package scanning only. (Each package has its EAN-13)

    I have searched in OCA modules for a module that meets this feature but couldn't find any. 
    Maybe i did not look well into the modules.. 
    Does anyone have an idea ? Any lead is appreciated.

    Regards.



    by bdmibra - 11:30 - 5 Oct 2020
  • black version upgrade for v14 ?
    Hi contributors,
    
    I have a question for you, before creating the 14.0 branches. (I hope
    it will not degenerate into a religious war, but I want to ask
    nevertheless :)
    
    The black code formatter we use has a new version that, among other
    fixes and improvements, resolves the infamous trailing comma issue
    [1]. It also does some reformatting in the docstrings. When we use it,
    it therefore applies some different code reformatting here and there.
    
    In the long run, using it is definitely a good thing. In the short
    term I'm not so sure, hence this message.
    
    So I see 3 possibilities:
    
    1. keep black to the same version in 13 and 14 and wait until black
    hits 1.0 to upgrade
    
    This is the less disruptive approach right now but we need to continue
    coping with the trailing comma "bug". This postpones the moment when
    we will need to decide between options 2 and 3 below (possibly
    involving more branches).
    
    2. upgrade black now in 13 and 14
    
    We can automate that but it will have the drawback of making some
    existing 13.0 green PRs unmergeable, requiring manual intervention on
    them before merging.
    
    3. upgrade black in 14 and keep 13 as is, let PSC upgrade manually in
    13 if they want to.
    
    With this approach there will be some code formatting differences
    between branches 13 and 14 which may make code migration slightly more
    difficult, and may create some cherry-pick conflicts in forward- and
    backports.
    
    What are your thoughts / vote? In doubt, update
    .pre-commit-config.yaml in your favorite repo to replace 19.10b0 with
    20.8b1 and run "pre-commit run -a" to see what it does exactly.
    
    [Note A similar reasoning exists for prettier but it mostly impacts
    javascript-heavy repos only. So there I believe it's ok to upgrade
    prettier in 14 and keep it as is in 13, especially since there were
    some hacks necessary to use it in 13 that we don't want to carry over
    in 14]
    
    -sbi
    
    [1] https://black.readthedocs.io/en/stable/the_black_code_style.html?highlight=comma#the-magic-trailing-comma
    

    by Stéphane Bidoul - 02:21 - 4 Oct 2020
  • New PSC: Animal
    Hello,

    I need to manage a pets register in my neighborhood with information like species, races, size, color, name, photo and owner. I didn't find anything in the OCA or maybe I missed something...

    Is anyone interested to contribute? I think we could host modules for veterinarians, petcare businesses, zoos, circuses, farms, national parks, etc...

    What do you think?

    MAXIME CHAMBREUIL
    PROJECT MANAGER/CONSULTANT
    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 - 08:25 - 3 Oct 2020
  • [26137] Usage of Py3o templating engine in Odoo projects
    Dear contributors,
    we wanted to have the ability to generate sales and invoice documents 
    based on document templates in one of our Odoo projects.
    For this purpose, we decided to give the template engine Py3o a try. In 
    the end, we came up with some questions
    we would like to ask you.
    
    
    * Have you been able to realize a similar workflow compared to the 
    application Microsoft Sharepoint? If that is the case, how did you do this?
    * What means did you use the store the data Py3o needs to access during 
    filling the template?
    * In which way did you store an already generated generated report?
    
    We are looking forward to your feedback and thank you for this in advance.
    
    Best regards,
    Manuel
    
    
    -- 
    Mit freundlichen Grüßen
    
    Manuel Engel
    Trainee Anwendungsentwicklung
    
    
    initOS GmbH
    An der Eisenbahn 1
    21224 Rosengarten
    
    Phone:   +49 4105 56156-22
    Fax:     +49 4105 56156-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: Rosengarten – Klecken
    Amtsgericht Tostedt, HRB 205226
    Steuer-Nr: 15/200/53247
    USt-IdNr: DE815580155
    
    

    by Manuel Engel - 02:15 - 2 Oct 2020