Skip to content
Snippets Groups Projects
  1. Aug 27, 2022
    • Abdelouahab (abla)'s avatar
      [FIX] hr_attendance: take into account employee's leaves · 124ae0f3
      Abdelouahab (abla) authored
      
      To Reporduce
      =============
      1.  Create  employee with Standard Working Schedule (100% presence / 40 hours / 08:00 - 12:00 & 13:00 - 17:00)
      2. Create Time off type: Paid time off with following settings:
      - Take time off in: Hours
      - Deduct Extra Hours: No
      3. Create a time off request for half a day for this employee (8/17/2022; morning)
      4. Approve Time Off Request
      5. Create an attendance record for this employee for the afternoon on this day (13:00 - 17:00)
      
      Problem
      =======
      On the attendance report, this employee has -4:00 Extra Hours, which means that the leave wasn't taken into
      account when computing Extra Hours
      
      Solution
      =========
      to solve the issue we take into account the Employee's leaves when computing Extra Hours
      
      opw-2956895
      
      closes odoo/odoo#98969
      
      X-original-commit: 3da24993
      Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
      124ae0f3
    • Jinjiu Liu's avatar
      [FIX] product: a temporal variant copy for future convenience · 7130939b
      Jinjiu Liu authored
      Reproduction:
      1. Create a dynamic attribute "dyn_att" with a couple of values
      2. Create a product template "dyn_prod" with those attribute values
      3. Create an order for "dyn_prod", this will trigger creating a variant
      4. Make sure to check Variant Grid Entry in Sales Settings
      5. Open variant form view of dyn_prod and edit it to allow duplication
      6. Duplicating it leads to an error
      
      Reason: copying the variant is not possible and disabled here:
      https://github.com/odoo/odoo/pull/38303
      
       For future convenience, maybe
      it’s better to give a temporal working solution. The function
      _create_first_product_variant is used in the product module but only
      defined in its child module website_sale
      
      Fix: copy the product template, create and return its first possible
      variant. Added test for dynamic variant copy. change the definition
      place of _create_first_product_variant to module product
      
      opw-2790543
      
      closes odoo/odoo#98809
      
      X-original-commit: 34a2948d
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      Signed-off-by: default avatarLiu Jinjiu (jili) <jili@odoo.com>
      7130939b
    • Camille Spiritus's avatar
      [IMP] account: import soda files · b373d122
      Camille Spiritus authored
      Added ids necessary for the soda files to be imported on l10n_be.
      
      see https://github.com/odoo/enterprise/pull/30680
      
      
      
      closes odoo/odoo#98904
      
      Related: odoo/enterprise#30680
      Signed-off-by: default avatarQuentin De Paoli <qdp@odoo.com>
      b373d122
    • Pierre Paridans's avatar
      [FIX] web: restore sizing for XXL Form View · 062ef134
      Pierre Paridans authored
      XXL Form View doesn't apply the right max-width (1320px instead of
      1140px).
      
      This is due to the precedence of the selector for `.o_xxl_form_view`
      since https://github.com/odoo/odoo/pull/96627
      
      . Also this code block
      applies to both legacy an new FormView instead of only the new one.
      
      This commit fixes it by properly targetting the `.o_form_view` with the
      `.o_xxl_form_view` and restores the previous behavior.
      
      closes odoo/odoo#98686
      
      Signed-off-by: default avatarAdrien Dieudonné (adr) <adr@odoo.com>
      062ef134
    • debu-odoo's avatar
      [IMP] stock_picking_batch: added `Draft` checkbox in batch wizard · 71fb845f
      debu-odoo authored
      
      Purpose
      =======
      Confirm batch when `Draft` checkbox is unchecked.
      
      So in this commit, we have added one `Draft` checkbox in the batch wizard.
      While creating a new batch, if this `Draft` checkbox is checked then batch will be
      create in draft state and if it's not then the batch will be create in confirm state.
      
      TaskID - 2925593
      
      closes odoo/odoo#97084
      
      Signed-off-by: default avatarTiffany Chang <tic@odoo.com>
      71fb845f
    • Daniel Blanco's avatar
      [FIX] l10n_cl: add l10n_cl_activity_description field to community · b4772177
      Daniel Blanco authored
      
      since this value is used as a required field in website sale
      [FIX] l10n_cl: add activity description field to company
      
      closes odoo/odoo#95964
      
      Related: odoo/enterprise#29462
      Related: odoo/upgrade#3764
      Signed-off-by: default avatarJosse Colpaert <jco@odoo.com>
      b4772177
    • Valentin Chevalier's avatar
      [FIX] payment(_transfer): only leave the status page when state is final · 7612de72
      Valentin Chevalier authored
      
      Before this commit, customers never waited on the status page for their
      payment to be confirmed. Instead, they were redirected to the landing
      route before that the transaction reaches a final state.
      
      Although this bug is present since version 15.0, it not considered as a
      problem worth fixing in stable since redirecting customers in advance is
      already supported. It is fixed in master to lay ground for further work
      that will require customers to wait for the payment confirmation.
      
      After this commit, customers will remain on the status page until their
      transaction state is updated to a final state ('authorized', 'done',
      'error'). An exception is made for Wire Transfer's payments that are
      never confirmed and should not block the customer on the status page.
      
      task-2908493
      
      closes odoo/odoo#95933
      
      Signed-off-by: default avatarAntoine Vandevenne (anv) <anv@odoo.com>
      7612de72
    • sofiagvaladze's avatar
      [IMP] hr_expense,sale_expense: UX improvements · 40a82e1f
      sofiagvaladze authored
      
      Major changes:
      	- converted list view to owl
      	- merged menus
      	- added CREATE REPORT button on hr.expense that reports either
            ticked draft expenses, or all the draft expenses for the user
      	- added dynamic buttons on expense.sheet list view
      	- added searchpanel on expense.sheet for team approvers and above
      	- moved (and changed) expense categories from demo to data
      	- added support on drag'n'drop while in list and kanban view of
            expense for quick upload
      
      task - 2831036
      
      closes odoo/odoo#93802
      
      Related: odoo/enterprise#28474
      Related: odoo/upgrade#3778
      Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
      40a82e1f
  2. Aug 26, 2022
Loading