Skip to Content

Contributors

  • Re: Functionnal : How would you deal with cleaning process
    Thanks for your precisous feedback.
    I'll let you know once we've made the set up.

    Regards

    Vertical seprator

    Florent THOMAS

    ☎ +33 972 457 755
    florent.thomas@mind-and-go.com

    Mind & Go
    14, Rue Pierre Cartelet | 66000 PERPIGNAN

    Logo Mind And Go Facebook Mind And Go Twitter Mind And Go LinkedIn Mind And Go


    De: "Tom Blauwendraat" <notifications@odoo-community.org>
    À: "contributors" <contributors@odoo-community.org>
    Envoyé: Dimanche 6 Août 2023 22:23:26
    Objet: Re: Functionnal : How would you deal with cleaning process

    I think I'd rather separate the selling of washing services from the stock management.

    - Stock goes in and out, this is done in Inventory
    - Washing is done, this is just done by Sale orders containing Services

    If they want some checks and balances in the coupling of these two processes I'd do that custom, by adding checks, or by reporting.

    On 8/6/23 19:47, Daniel Reis wrote:
    I would try addressing it from a Return/Repair workflow perspective:

    - Items are received,
    - a sales order for "repair" goes out,
    - Items are "repaired", and then
    - Items are  sent back to the customer.

    Daniel

    On 04/08/2023 23:27, Florent Thomas wrote:
    Hi community,

    I have a customer whose business is to wash stuff : glasses, plates, plastic box, fork and knives.
    They are selling the washing process and manage the stock with consignation.

    I'm looking for something simple and what I can imagine is to deal with a logistic route representing all the steps of the quality control, washing, delivery...

    AFAICS, working with manufacturing will add too much complexity

    Any feedback / drawbacks from the community ?

    Regards

    Vertical seprator

    Florent THOMAS

    ☎ +33 972 457 755
    florent.thomas@mind-and-go.com

    Mind & Go
    14, Rue Pierre Cartelet | 66000 PERPIGNAN

    Logo Mind And Go Facebook Mind And Go Twitter Mind And Go LinkedIn Mind And Go

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    --
    DANIEL REIS
    MANAGING PARTNER

    M: +351 919 991 307
    E: dreis@OpenSourceIntegrators.com
    A: Avenida da República 3000, Estoril Office B, 3º Escr.34, 2649-517 Cascais

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe



    by Florent THOMAS - 08:30 - 7 Aug 2023
  • Finance: Odoo integration with FP&A (Financial Planning and Analysis)
    Dear Contributors,
    
    Have to integrated Odoo with any FP&A (Financial Planning and Analysis)
    software?
    
    Customer is watching around:
    
    - Abacum - https://www.abacum.io/
    -  Plika - https://getplika.com/
    - Cube - https://www.cubesoftware.com/
    
    Maybe, do you know and Odoo set of modules to cover these needs?
    
    Thank you
    Regards,
    Rafael
    

    by Rafael Blasco (Moduon) - 10:51 - 6 Aug 2023
  • Re: Functionnal : How would you deal with cleaning process

    I think I'd rather separate the selling of washing services from the stock management.

    - Stock goes in and out, this is done in Inventory
    - Washing is done, this is just done by Sale orders containing Services

    If they want some checks and balances in the coupling of these two processes I'd do that custom, by adding checks, or by reporting.

    On 8/6/23 19:47, Daniel Reis wrote:
    I would try addressing it from a Return/Repair workflow perspective:

    - Items are received,
    - a sales order for "repair" goes out,
    - Items are "repaired", and then
    - Items are  sent back to the customer.

    Daniel

    On 04/08/2023 23:27, Florent Thomas wrote:
    Hi community,

    I have a customer whose business is to wash stuff : glasses, plates, plastic box, fork and knives.
    They are selling the washing process and manage the stock with consignation.

    I'm looking for something simple and what I can imagine is to deal with a logistic route representing all the steps of the quality control, washing, delivery...

    AFAICS, working with manufacturing will add too much complexity

    Any feedback / drawbacks from the community ?

    Regards

    Vertical seprator

    Florent THOMAS

    ☎ +33 972 457 755
    florent.thomas@mind-and-go.com

    Mind & Go
    14, Rue Pierre Cartelet | 66000 PERPIGNAN

    Logo Mind And Go Facebook Mind And Go Twitter Mind And Go LinkedIn Mind And Go

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    --
    DANIEL REIS
    MANAGING PARTNER

    M: +351 919 991 307
    E: dreis@OpenSourceIntegrators.com
    A: Avenida da República 3000, Estoril Office B, 3º Escr.34, 2649-517 Cascais

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Tom Blauwendraat - 10:21 - 6 Aug 2023
  • Re: Functionnal : How would you deal with cleaning process
    I would try addressing it from a Return/Repair workflow perspective:

    - Items are received,
    - a sales order for "repair" goes out,
    - Items are "repaired", and then
    - Items are  sent back to the customer.

    Daniel

    On 04/08/2023 23:27, Florent Thomas wrote:
    Hi community,

    I have a customer whose business is to wash stuff : glasses, plates, plastic box, fork and knives.
    They are selling the washing process and manage the stock with consignation.

    I'm looking for something simple and what I can imagine is to deal with a logistic route representing all the steps of the quality control, washing, delivery...

    AFAICS, working with manufacturing will add too much complexity

    Any feedback / drawbacks from the community ?

    Regards

    Vertical seprator

    Florent THOMAS

    ☎ +33 972 457 755
    florent.thomas@mind-and-go.com

    Mind & Go
    14, Rue Pierre Cartelet | 66000 PERPIGNAN

    Logo Mind And Go Facebook Mind And Go Twitter Mind And Go LinkedIn Mind And Go

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    --
    DANIEL REIS
    MANAGING PARTNER

    M: +351 919 991 307
    E: dreis@OpenSourceIntegrators.com
    A: Avenida da República 3000, Estoril Office B, 3º Escr.34, 2649-517 Cascais


    by Daniel Reis - 07:46 - 6 Aug 2023
  • Re: Overtime calculation in Odoo 15 and OCA

    Hello Florian,

    Thank you for sharing your observations and concerns regarding the overtime calculation in Odoo 15.0. It's great to see the community actively working on improving the functionality.

    I wanted to let you know that during the OCA Days 2022, I presented our usage of the modules hr_attendance_validation and hr_attendance_overtime. You can find the presentation at this link: OCA Days 2022 Presentation. In this presentation, I discussed how these modules have been beneficial to us and our approach to managing attendance and overtime calculations.

    I am aware that Odoo has introduced a new model (hr.attendance.overtime) and mechanisms for overtime calculation in version 15.0, but it appears to have some inconsistencies and issues that need to be addressed. I'm glad to hear that you are planning to look into it further, and I'm also interested in exploring the changes Odoo has made to the overtime concept in 15.0 and beyond.

    As of now, I'm not aware of anyone else in the community currently working on the same topic, but I'm eager to collaborate and share information and experiences on overtime in Odoo 15.0 onwards when the time comes in early 2025.

    As of now, I want to emphasize that I have definite plans to delve into and address the subject of overtime in Odoo 15.0 early in 2025. While I'm not aware of anyone else in the community currently working on the same topic, I am eagerly looking forward to collaborating with others, sharing information, and exchanging experiences regarding overtime in Odoo 15.0 and beyond when the time arrives in early 2025. Could it be a topic at OCA days 2023 ?

    Best regards,


    Le ven. 28 juil. 2023 à 13:52, Florian Kantelberg <notifications@odoo-community.org> a écrit :

    Hello community,

    we are currently looking on overtime calculation in Odoo 15.0. Odoo 15.0 introduced a new model (hr.attendance.overtime) and mechanisms for an overtime calculation. First I want to share our knowledge with digging into it. There are currently some core bugs with the overtime calculation:

    • The resource.calendar from hr.contract is not used for overtime calculation as you would expect if hr_attendance and hr_contract is installed. Causes wrong calculations if you edit attendance before a resource calendar (e.g. somebody forgot to logout and you are validating the attendance)
    • Overtime ignores dates without attendance completly despite it's an actual working day. E.g. if you have to work for 8h and login for 1min you have -7:59h overtime. If you don't login it's +/-0h. This isn't fully consistent.

    We are currently trying to develop fixes for these core bugs. The bugs are present from 15.0 to master. We can share the PRs when they are ready.

    Following are additional observations regarding the state of the OCA modules in regard to overtime and attendance:

    •  hr_attendance_sheet and hr_attendance_validation: (up to 14.0)
      •  There is a big intersection in the feature sets of both modules. Both are creating a kind of sheet and a multiple step process to verify/approve attendances. They also add features like overtime calculation etc. based on the sheets.
      • A simple migration PR[1] is maybe not worth it because of the core changes in the overtime calculation. E.g. if an approval process is needed shouldn't only approved attendances count towards your overtime?
    • hr_holidays_public: (already 15.0)
      • This module works fine especially the automatic holiday generation with the modules built on top. The module has problems in the overtime calculation. The holidays reduce the days when you request additional holidays. But such a holiday is getting ignored for the overtime calculation. E.g. if you work on a holiday for 9h instead of the regular 8h you get 1h overtime with OCA holiday but 9h for core holiday. It's also not possible to use half holidays (e.g. the 24.12. or 31.12. in Germany). The module also ignores the holidays of the Odoo core. Are there any reasons to stick to the extra model we are not seeing?
      • In 15.0 Odoo core has a own model for public holidays. So just going on we community solution might result in a growing divergence from the core. The feature to generate public holidays is still very comfortable. A new approach could be to rebuild this to create entries of Odoo core model.
    • hr_attendance_report_theoretical_time
      • Here a intersection to the Odoo core overtime calculation in Odoo 15.0 exists, since it comes with some reports (pivot tables).


    Is currently somebody else working on it and can share information or experience with overtime in Odoo 15.0 onwards?

    Best Regards,

    Florian

    [1] https://github.com/OCA/hr-attendance/pull/114

    -- 
    Mit freundlichen Grüßen
    
    Florian Kantelberg
    Softwareentwickler
    
    initOS GmbH
    Innungsstraße 7
    21244 Buchholz i.d.N.
    
    Tel.: +49 (0) 4181 1350344
    Fax: +49 (0) 4181 1350310
    
    Email: florian.kantelberg@initos.com
    Internet: https://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
    USt-IdNr: DE 815580155
    Steuer-Nr: 15/200/53247

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Pierre Verkest - 02:11 - 6 Aug 2023
  • Re: [14.0]Task calendar : change start/end date
    project_timeline?

    -- 
    田代祥隆 Yoshi Tashiro
    コタエル株式会社 / Quartile Limited


    On Sat, Aug 5, 2023 at 7:32 AM Florent Thomas <notifications@odoo-community.org> wrote:
    Hi,

    I'm struggling with odoo calendar view for task.
    AFAICS, only the deadline is used there
    My customer would like to be able to change either start or end date. I explained that Odoo is mainly focused on setting dates on the project and not on the task but he still want to have this feature.
    Any proposal?

    Regards

    Vertical seprator

    Florent THOMAS

    ☎ +33 972 457 755
    florent.thomas@mind-and-go.com

    Mind & Go
    14, Rue Pierre Cartelet | 66000 PERPIGNAN

    Logo Mind And Go Facebook Mind And Go Twitter Mind And Go LinkedIn Mind And Go

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Yoshi Tashiro. - 04:01 - 5 Aug 2023
  • [14.0]Task calendar : change start/end date
    Hi,

    I'm struggling with odoo calendar view for task.
    AFAICS, only the deadline is used there
    My customer would like to be able to change either start or end date. I explained that Odoo is mainly focused on setting dates on the project and not on the task but he still want to have this feature.
    Any proposal?

    Regards

    Vertical seprator

    Florent THOMAS

    ☎ +33 972 457 755
    florent.thomas@mind-and-go.com

    Mind & Go
    14, Rue Pierre Cartelet | 66000 PERPIGNAN

    Logo Mind And Go Facebook Mind And Go Twitter Mind And Go LinkedIn Mind And Go

    by Florent THOMAS - 12:31 - 5 Aug 2023
  • Functionnal : How would you deal with cleaning process
    Hi community,

    I have a customer whose business is to wash stuff : glasses, plates, plastic box, fork and knives.
    They are selling the washing process and manage the stock with consignation.

    I'm looking for something simple and what I can imagine is to deal with a logistic route representing all the steps of the quality control, washing, delivery...

    AFAICS, working with manufacturing will add too much complexity

    Any feedback / drawbacks from the community ?

    Regards

    Vertical seprator

    Florent THOMAS

    ☎ +33 972 457 755
    florent.thomas@mind-and-go.com

    Mind & Go
    14, Rue Pierre Cartelet | 66000 PERPIGNAN

    Logo Mind And Go Facebook Mind And Go Twitter Mind And Go LinkedIn Mind And Go

    by Florent THOMAS - 12:26 - 5 Aug 2023
  • Re: API connection limit
    Hi,

    Maybe you could start to adapt RAM and workers following this rule : [ https://www.odoo.com/documentation/16.0/administration/install/deploy.html#builtin-server | https://www.odoo.com/documentation/16.0/administration/install/deploy.html#builtin-server ]

    Vertical seprator

    Florent THOMAS

    ☎ +33 972 457 755
    florent.thomas@mind-and-go.com

    Mind & Go
    14, Rue Pierre Cartelet | 66000 PERPIGNAN

    Logo Mind And Go Facebook Mind And Go Twitter Mind And Go LinkedIn Mind And Go


    De: "Bhoomi Vaishnani" <notifications@odoo-community.org>
    À: "contributors" <contributors@odoo-community.org>
    Envoyé: Vendredi 4 Août 2023 21:42:28
    Objet: API connection limit

    Hello,
    I would like to implement 100+ connections in Odoo. Is there a way to handle multiple connections without having an impact on Odoo speed? Is there a limit to how many connections can be made?



    _______________________________________________
    Mailing-List: [ https://odoo-community.org/groups/contributors-15 | https://odoo-community.org/groups/contributors-15 ]
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: [ https://odoo-community.org/groups?unsubscribe | https://odoo-community.org/groups?unsubscribe ]

    by Florent THOMAS - 11:41 - 4 Aug 2023
  • API connection limit
    Hello,

    I would like to implement 100+ connections in Odoo. Is there a way to handle multiple connections without having an impact on Odoo speed? Is there a limit to how many connections can be made?


    by bhoomi2889 - 09:42 - 4 Aug 2023
  • Re: Compute and Onchange after create
    Onchange might be hard to manage. I would recomend you to use a compute with store=True and readonly=False. This kind of fields are editable, and you can allways add the change there. In order to ensure the execution inside the ORM you just need to use the flush method.

    Kind regards,

    El vie, 4 ago 2023 a las 16:42, Graeme Gellatly (<notifications@odoo-community.org>) escribió:
    The only truly reliable ways for onchanges is the tests.Form class or an OCA module onchange_helper (something like that). But Form is dog slow, like 2 or 3 seconds sometimes and onchange_helper has its oddities too. For these new writable computed fields, my belief is that was kind of the point. Not the computation per se, but the very fact it has an inverse argument so in theory, both the computation and if written the inverse would be called. But tbh, I find them much harder to work with.

    On Sat, Aug 5, 2023 at 2:28 AM Fernando La Chica <notifications@odoo-community.org> wrote:
    I am building an API in Odoo 16.0. As we know, there are fields that can be computed (compute) and others that change their value (onchange) depending on the change in another one. Well, what I need to know is if there is a standard way for after creating the object ("model.create") to launch all these computations without having to worry about calling these methods

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe



    --
    Enric Tobella Alomar
    CEO & Founder


    by Enric Tobella Alomar - 04:47 - 4 Aug 2023
  • Re: Compute and Onchange after create
    The only truly reliable ways for onchanges is the tests.Form class or an OCA module onchange_helper (something like that). But Form is dog slow, like 2 or 3 seconds sometimes and onchange_helper has its oddities too. For these new writable computed fields, my belief is that was kind of the point. Not the computation per se, but the very fact it has an inverse argument so in theory, both the computation and if written the inverse would be called. But tbh, I find them much harder to work with.

    On Sat, Aug 5, 2023 at 2:28 AM Fernando La Chica <notifications@odoo-community.org> wrote:
    I am building an API in Odoo 16.0. As we know, there are fields that can be computed (compute) and others that change their value (onchange) depending on the change in another one. Well, what I need to know is if there is a standard way for after creating the object ("model.create") to launch all these computations without having to worry about calling these methods

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Graeme Gellatly - 04:42 - 4 Aug 2023
  • Re: Compute and Onchange after create
    What I usually do is to create a specific method to be used by the API.
    It will create the record and then call the relevant onchanges.

    I find that often there is more than that, and this pattern is convenient:
    You may also need to set some sane defaults, run specific checks, do some data conversion cleaning, or even some automation.


    On 04/08/2023 15:28, Fernando La Chica wrote:
    I am building an API in Odoo 16.0. As we know, there are fields that can be computed (compute) and others that change their value (onchange) depending on the change in another one. Well, what I need to know is if there is a standard way for after creating the object ("model.create") to launch all these computations without having to worry about calling these methods

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    --
    DANIEL REIS
    MANAGING PARTNER

    M: +351 919 991 307
    E: dreis@OpenSourceIntegrators.com
    A: Avenida da República 3000, Estoril Office B, 3º Escr.34, 2649-517 Cascais


    by Daniel Reis - 04:35 - 4 Aug 2023
  • Compute and Onchange after create
    I am building an API in Odoo 16.0. As we know, there are fields that can be computed (compute) and others that change their value (onchange) depending on the change in another one. Well, what I need to know is if there is a standard way for after creating the object ("model.create") to launch all these computations without having to worry about calling these methods

    by Fernando La Chica - 04:26 - 4 Aug 2023
  • Re: Regular postgres VACUUM command
    > can anyone recommend a visual Postgres monitoring tool

    I use pgbadger too but PGHero is my favorite tool to see real time stats


    El vie, 28 jul 2023 a las 3:22, Tom Blauwendraat (<notifications@odoo-community.org>) escribió:
    Thanks Moises and Graeme for the detailed information!
    
    I'm going to look at tweaking autovacuum and statistics settings for the 
    busy tables. Also, whenever replacing a big chunk of data, I'll run 
    ANALYSE <table> afterwards.
    
    As for most situations the default Postgres settings are fine, and I 
    can't think of any "generic" solutions other than monitoring and doing 
    individual tweaks, I won't create an OCA module for it.
    
    Parting question: can anyone recommend a visual Postgres monitoring tool 
    that could ideally also work on Amazon RDS? I'm familiar with log 
    parsing tools such as pgBadger, but maybe there's a tool out there 
    somewhere that can give information just by connecting to the instance 
    and running smart queries?
    
    -Tom
    
    
    
    

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe



    --
    Moisés López Calderón
    Mobile: (+521) 477-752-22-30
    Twitter: @moylop260
    hangout: moylop260@vauxoo.com
    http://www.vauxoo.com - Odoo Gold Partner
    Twitter: @vauxoo

    by Moisés López Calderón - 12:26 - 2 Aug 2023
  • Re: pricelist issue
    base_user_company_role

    On Mon, Jul 31, 2023 at 9:46 PM samir mahmoud <notifications@odoo-community.org> wrote:

    I have a situation in a multi company environment where I want one of my user to have access to both of my companies A & B.

     

    Moreover, this user must have access to the accounting of company A but not B.

     

    Is it possible in Odoo to define application access rights per company ?

     

    How can I achieve this ? By using record rules ? If so, how ?

     

    Sent from Mail for Windows

     

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Graeme Gellatly - 02:00 - 31 Jul 2023
  • pricelist issue

    I have a situation in a multi company environment where I want one of my user to have access to both of my companies A & B.

     

    Moreover, this user must have access to the accounting of company A but not B.

     

    Is it possible in Odoo to define application access rights per company ?

     

    How can I achieve this ? By using record rules ? If so, how ?

     

    Sent from Mail for Windows

     


    by "samir mahmoud" <samir2010ksa@hotmail.com> - 11:46 - 31 Jul 2023
  • Re: Overtime calculation in Odoo 15 and OCA

    In case you're interested I have a solution for OT calculation, payroll, etc for 14.0 here: https://github.com/trevi-software/trevi-hr. I'm currently porting it to 16.0, but it should give you a good place to start for 15.0.


    Regards,

    Mike.

    On 28/07/2023 17:21, Janik von Rotz wrote:

    Hi Florian

    I think I resolved some issues with custom modules and actions. I assume you speak/read German.

    Regarding hr_holidays_public have look at https://www.odoo-wiki.org/best-practice-working-times-and-holiday-allocations.html

    Regarding hr_attendance_report_theoretical_time we have this alternative https://www.odoo-wiki.org/hr-employee-attendance-report.html

    Regarding "Overtime ignores dates without attendance completly despite it's an actual working day." we created this: https://www.odoo-wiki.org/hr-attendance-actions.html#fehlende-anwesenheitseintrage-anzeigen

    Cheers, Janik

    On 7/28/23 13:51, Florian Kantelberg wrote:

    Hello community,

    we are currently looking on overtime calculation in Odoo 15.0. Odoo 15.0 introduced a new model (hr.attendance.overtime) and mechanisms for an overtime calculation. First I want to share our knowledge with digging into it. There are currently some core bugs with the overtime calculation:

    • The resource.calendar from hr.contract is not used for overtime calculation as you would expect if hr_attendance and hr_contract is installed. Causes wrong calculations if you edit attendance before a resource calendar (e.g. somebody forgot to logout and you are validating the attendance)
    • Overtime ignores dates without attendance completly despite it's an actual working day. E.g. if you have to work for 8h and login for 1min you have -7:59h overtime. If you don't login it's +/-0h. This isn't fully consistent.

    We are currently trying to develop fixes for these core bugs. The bugs are present from 15.0 to master. We can share the PRs when they are ready.

    Following are additional observations regarding the state of the OCA modules in regard to overtime and attendance:

    •  hr_attendance_sheet and hr_attendance_validation: (up to 14.0)
      •  There is a big intersection in the feature sets of both modules. Both are creating a kind of sheet and a multiple step process to verify/approve attendances. They also add features like overtime calculation etc. based on the sheets.
      • A simple migration PR[1] is maybe not worth it because of the core changes in the overtime calculation. E.g. if an approval process is needed shouldn't only approved attendances count towards your overtime?
    • hr_holidays_public: (already 15.0)
      • This module works fine especially the automatic holiday generation with the modules built on top. The module has problems in the overtime calculation. The holidays reduce the days when you request additional holidays. But such a holiday is getting ignored for the overtime calculation. E.g. if you work on a holiday for 9h instead of the regular 8h you get 1h overtime with OCA holiday but 9h for core holiday. It's also not possible to use half holidays (e.g. the 24.12. or 31.12. in Germany). The module also ignores the holidays of the Odoo core. Are there any reasons to stick to the extra model we are not seeing?
      • In 15.0 Odoo core has a own model for public holidays. So just going on we community solution might result in a growing divergence from the core. The feature to generate public holidays is still very comfortable. A new approach could be to rebuild this to create entries of Odoo core model.
    • hr_attendance_report_theoretical_time
      • Here a intersection to the Odoo core overtime calculation in Odoo 15.0 exists, since it comes with some reports (pivot tables).


    Is currently somebody else working on it and can share information or experience with overtime in Odoo 15.0 onwards?

    Best Regards,

    Florian

    [1] https://github.com/OCA/hr-attendance/pull/114

    -- 
    Mit freundlichen Grüßen
    
    Florian Kantelberg
    Softwareentwickler
    
    initOS GmbH
    Innungsstraße 7
    21244 Buchholz i.d.N.
    
    Tel.: +49 (0) 4181 1350344
    Fax: +49 (0) 4181 1350310
    
    Email: florian.kantelberg@initos.com
    Internet: https://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
    USt-IdNr: DE 815580155
    Steuer-Nr: 15/200/53247

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Raphael Makonnen - 02:31 - 30 Jul 2023
  • Tier partial invoicing
    Dear all
    We have a case where product

    --------------------------------
    Cyril VINH-TUNG
    INVITU
    Computer & Network Engineering
    BP 32 - 98713 Papeete - French Polynesia
    Tél: +689 40 46 11 99
    contact@invitu.com
    www.invitu.com

    by Cyril VINH-TUNG - 11:41 - 28 Jul 2023
  • Re: Overtime calculation in Odoo 15 and OCA

    Hi Florian

    I think I resolved some issues with custom modules and actions. I assume you speak/read German.

    Regarding hr_holidays_public have look at https://www.odoo-wiki.org/best-practice-working-times-and-holiday-allocations.html

    Regarding hr_attendance_report_theoretical_time we have this alternative https://www.odoo-wiki.org/hr-employee-attendance-report.html

    Regarding "Overtime ignores dates without attendance completly despite it's an actual working day." we created this: https://www.odoo-wiki.org/hr-attendance-actions.html#fehlende-anwesenheitseintrage-anzeigen

    Cheers, Janik

    On 7/28/23 13:51, Florian Kantelberg wrote:

    Hello community,

    we are currently looking on overtime calculation in Odoo 15.0. Odoo 15.0 introduced a new model (hr.attendance.overtime) and mechanisms for an overtime calculation. First I want to share our knowledge with digging into it. There are currently some core bugs with the overtime calculation:

    • The resource.calendar from hr.contract is not used for overtime calculation as you would expect if hr_attendance and hr_contract is installed. Causes wrong calculations if you edit attendance before a resource calendar (e.g. somebody forgot to logout and you are validating the attendance)
    • Overtime ignores dates without attendance completly despite it's an actual working day. E.g. if you have to work for 8h and login for 1min you have -7:59h overtime. If you don't login it's +/-0h. This isn't fully consistent.

    We are currently trying to develop fixes for these core bugs. The bugs are present from 15.0 to master. We can share the PRs when they are ready.

    Following are additional observations regarding the state of the OCA modules in regard to overtime and attendance:

    •  hr_attendance_sheet and hr_attendance_validation: (up to 14.0)
      •  There is a big intersection in the feature sets of both modules. Both are creating a kind of sheet and a multiple step process to verify/approve attendances. They also add features like overtime calculation etc. based on the sheets.
      • A simple migration PR[1] is maybe not worth it because of the core changes in the overtime calculation. E.g. if an approval process is needed shouldn't only approved attendances count towards your overtime?
    • hr_holidays_public: (already 15.0)
      • This module works fine especially the automatic holiday generation with the modules built on top. The module has problems in the overtime calculation. The holidays reduce the days when you request additional holidays. But such a holiday is getting ignored for the overtime calculation. E.g. if you work on a holiday for 9h instead of the regular 8h you get 1h overtime with OCA holiday but 9h for core holiday. It's also not possible to use half holidays (e.g. the 24.12. or 31.12. in Germany). The module also ignores the holidays of the Odoo core. Are there any reasons to stick to the extra model we are not seeing?
      • In 15.0 Odoo core has a own model for public holidays. So just going on we community solution might result in a growing divergence from the core. The feature to generate public holidays is still very comfortable. A new approach could be to rebuild this to create entries of Odoo core model.
    • hr_attendance_report_theoretical_time
      • Here a intersection to the Odoo core overtime calculation in Odoo 15.0 exists, since it comes with some reports (pivot tables).


    Is currently somebody else working on it and can share information or experience with overtime in Odoo 15.0 onwards?

    Best Regards,

    Florian

    [1] https://github.com/OCA/hr-attendance/pull/114

    -- 
    Mit freundlichen Grüßen
    
    Florian Kantelberg
    Softwareentwickler
    
    initOS GmbH
    Innungsstraße 7
    21244 Buchholz i.d.N.
    
    Tel.: +49 (0) 4181 1350344
    Fax: +49 (0) 4181 1350310
    
    Email: florian.kantelberg@initos.com
    Internet: https://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
    USt-IdNr: DE 815580155
    Steuer-Nr: 15/200/53247

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Janik von Rotz - 04:16 - 28 Jul 2023