Skip to content
Snippets Groups Projects
  1. Jul 26, 2021
    • Xavier-Do's avatar
      [FIX] *: add explicit license to all manifest · 4f683968
      Xavier-Do authored
      
      The license is missing in most enterprise manifest so
      the decision was taken to make it explicit in all cases.
      When not defined, a warning will be triggered starting from
      14.0 when falling back on the default LGPL-3.
      
      closes odoo/odoo#74231
      
      Related: odoo/enterprise#19850
      Related: odoo/design-themes#43
      Signed-off-by: default avatarXavier Dollé (xdo) <xdo@odoo.com>
      4f683968
  2. Sep 25, 2019
  3. Sep 16, 2019
  4. Jul 17, 2019
    • Lucas Lefèvre's avatar
      [IMP] hr_*: Improve employee presence state · f6fdde96
      Lucas Lefèvre authored
      
      Purpose
      =======
      There are currently multiple ways to determine if an employee is presence
      or absent:
      - login state (user status on chat)
      - checkin/checkout from the Attendance app
      - leave
      - hr_presence (email, ip)
      Those states are displayed in several different places and can be inconsitent.
      e.g. Logged in -> green in the chat
      Not checked in -> red on the employee kanban view.
      
      The multiple ways to determine employee presence described above
      should be aggregated together to have a better consistency.
      
      Specification
      =============
      There are 3 presence states (previously defined in module `hr_presence`),
      namely `present`, `absent`, `to_define`. They are now defined as soon as
      `hr` module is installed.
      
      The state computation can have several behaviors according to which apps
      are installed:
      
      1. `hr` is installed
      Check employee presence based on login by default (only for employees with
      a user).
      Kanban state (private and public): should be green when logged in, red when logged out and
      orange when the user is away.
      Private employee form: Display a stat button "Connected" on the form view
      when the user is logged in or "Last Activity xx/xx/xxx" otherwise.
      
      2. `hr_attendance` is installed:
      when the user is logged out, the state
      is determined from the checked in/out state. But when the user is logged in,
      consider the user as present (even if he checked out).
      Kanban state: green for checked in, red for checked out
      Private form view: attendance stat button.
      
      3. `hr_holidays` is installed:
      Has the highest priority if the employee is on leave.
      Kanban state: red if employee is on leave.
      Private form view: stat button "Absent Until xx/xx/xxxx" if employee
      is on leave.
      
      4. `hr_presence` is installed:
      Two additionnal presence checking option: emails sent and IP address connected.
      Once a user sent an email or the IP address was connected, he is considered
      present for the entire day.
      
      There should be at most one stat button on the employee form view, with the
      relevent information.
      
      Task id: 2024482
      
      closes odoo/odoo#34933
      
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      f6fdde96
Loading