Skip to content
Permalink
Branch: 12.0
Commits on Jan 11, 2019
  1. [FIX] l10n_be_hr_payroll: Fix 9c5f930

    tivisse committed Jan 11, 2019
    Purpose
    =======
    
    Since 9c5f930, the double holiday is computed from the wage with holidays.
    
    When we compute the employer costs, we should take the original wage,
    not the adapted one, to keep fix employer costs, whatever the amount
    of days the employee takes.
    
    closes #30149
Commits on Jan 9, 2019
  1. [FIX] l10n_be_hr_payroll: Compute 13th month from wage_with_holidays

    tivisse committed Jan 9, 2019
    closes #30078
Commits on Jan 4, 2019
  1. [FIX] l10n_be_hr_payroll: Remove wrong rule

    tivisse committed Jan 4, 2019
    This rule is not correct, and shouldn't be applied here.
  2. [IMP] l10n_be_hr_payroll: Update salary rules up to 2019

    tivisse committed Jan 4, 2019
    Update withholding taxes and child allowances for the new fiscal year.
    
    Documentation: https://finances.belgium.be/fr/entreprises/personnel_et_remuneration/precompte_professionnel/calcul
Commits on Jan 2, 2019
  1. [FIX] hr_holidays: Correctly compute number_of_days on form loading

    tivisse authored and RomainLibert committed Nov 7, 2018
    Backport of 1c391c3
    
    Closes #29800
    
    closes #29853
Commits on Dec 28, 2018
  1. [FIX] hr_holidays: Reset interface-based fields on leave type change

    tivisse committed Dec 28, 2018
    Purpose
    =======
    
    When changing the leave type on a leave request, reset the technical
    fields that only have a visual purpose to avoid mismatch on the leave
    duration compute method.
    
    closes #29789
  2. [FIX] hr_holidays: Fix 6035112

    tivisse committed Dec 28, 2018
    1/ self.date_from on a for loop on self won't work
    2/ When calling get_work_hours_count with self.date_from=False or self.date_to=False,
       this will lead to a traceback when looking the timezone on the date.
    
    Closes #29697
Commits on Dec 27, 2018
  1. [FIX] hr_holidays: Fix traceback on onchange

    tivisse committed Dec 27, 2018
    closes #29773
Commits on Dec 19, 2018
  1. [FIX] hr_payroll: Specify a worked day description for global leaves

    tivisse committed Dec 19, 2018
    Currently when recording global leaves on the ressource calendar
    the worked line has no code or description, which are required.
    
    Specify a default value to allow the saving of the payslip.
    
    closes #29655
Commits on Nov 22, 2018
  1. [FIX] hr_payroll: Display currency on payslip pdf report

    tivisse committed Nov 22, 2018
    Purpose
    =======
    
    There is typo that doesn't display the currency next to the different amounts
    on the payslip report.
    
    closes #28964
  2. [FIX] hr_holidays: Fix remaining leaves count on employee form

    tivisse committed Nov 22, 2018
    Purpose
    =======
    
    Currently the remaining leaves substract the taken leaves with
    no needed allocation.
    
    That way, sick leaves are removed from the remaining leaves for example.
    
    Closes #28659
    
    Co-authored-by: Cas Vissers <c.vissers@brahoo.nl>
    
    closes #28951
Commits on Nov 20, 2018
  1. [FIX] lunch: Fix unreviewed new feature from a2f69ca

    tivisse committed Nov 20, 2018
    Purpose
    =======
    
    As we try to open a mail.compose.message on a model that doesn't inherit
    from mail.thread (Mimic a cowboy yellin' "Yihaaa" while shooting into the air
    with one revolver in each hand).
    
    Specification
    =============
    
    The only way to fix this issue while keeping the feature (Open a
    mail composer) is to open the mail composer in mass_mail mode and
    to remove the model on which it should be called.
    
    The template won't be rendered in the mail composer but will
    be rendered when sending the mass_mailing obviously, while avoiding
    the unavoidable traceback when clicking on the 'Send' button
    
    closes #28849
Commits on Oct 2, 2018
  1. [IMP] mail: Make mail.compose.message code more readable

    tivisse committed Oct 1, 2018
    Purpose
    =======
    
    Remove the method 'render_template' in mail.compose.message as the indirection
    is not useful. Call the method on the correct model (mail.template) directly.
  2. [IMP] ir_ui_view: Log warning on incorrect 'groups' attribute

    tivisse committed Oct 1, 2018
    Purpose
    =======
    
    They are a lot of places where we set an attribute 'groups' on a view element and:
    
    - The group doesn't exist anymore
    - The group xmlid is not correct
    - The group xmlid exists but the modularity is not respected (example: group_stock_user
      used in a view in the 'product' module).
    
    Where it happens, nothing warns the user or the developer. The element is just never
    rendered.
    
    Specification
    =============
    
    In the method _check_xml, log a warning if a 'groups' attribute is set and if
    a group doesn't not exist at that moment.
  3. [FIX] sale,stock,account,...: Use groups in views only if they exist

    tivisse committed Oct 1, 2018
    Purpose
    =======
    
    They are a lot of places where we set an attribute 'groups' on a view element and:
    - The group doesn't exist anymore
    - The group xmlid is not correct
    - The group xmlid exists but the modularity is not respected (example: group_stock_user
      used in a view in the 'product' module).
    
    Where it happends, nothing warns the user of the developer. The element is just never
    rendered.
    
    Specification
    =============
    
    Fix the occurences of bad groups definition
Commits on Sep 25, 2018
  1. [IMP] models.py: Concatenate warning messages if they are different

    tivisse authored and awa-odoo committed Aug 30, 2018
    Purpose
    =======
    
    When several warnings are raised, in an onchange for example, the warning
    messages and titles are concatenated on the dialog, even if they are
    exactly the same.
    
    Specification
    =============
    
    Don't concatenate warning messages if they are exactly the same.
Commits on Sep 21, 2018
  1. [IMP] models.py: Log a warning if no '_description' is set on model

    tivisse committed Sep 21, 2018
  2. [IMP] all: Add description on all models

    tivisse committed Sep 21, 2018
    Purpose
    ========
    
    There are more than 250 models that have a technical name as model description
    
    The purpose of this task is to give them a more "business oriented"
    business description. Indeed, those descriptions appear in Odoo
    Studio which is supposed to be used by end users, not only by
    developers.
    
    Example :
    account.invoice > Invoice
    website.version > Website Version
Commits on Sep 20, 2018
  1. [IMP] base: Order user's type groups by id

    tivisse committed Sep 20, 2018
    Purpose
    =======
    
    Traceback when following these steps:
    - Install MRP
    - Load French translations
    - Set language to French
    - Activate 'work orders' on MRP configuration
    
    Error: The field 'sel_groups_9_10_1' doesn't exist.
    
    This is because the only selection groups field on the res_users view
    that doesn't have a transitive closure (the user's type Internal/Portal/Public)
    is ordered by name.
    
    1: Internal User
    9: Portal
    10: Public
    
    becomes
    
    9: Portail
    10: Public
    1: Utilisateur Interne
    
    which lead to the traceback.
    
    We should retrieve these groups ordered by 'id' to avoid the issue.
Commits on Sep 19, 2018
  1. [FIX] l10n_be_hr_payroll: Fix layout issue on contract form

    tivisse committed Sep 18, 2018
  2. [FIX] hr_recruitment: Open employee form when created from application

    tivisse committed Sep 18, 2018
    Currently, when clicking on 'Create Employee' on the application form,
    the employee is correctly created but the form view that is opened
    is for a new employee, not the employee that has been created on the fly.
Commits on Sep 14, 2018
  1. [FIX] rating: Send rating if no override of rating_get_parent

    tivisse authored and RomainLibert committed Sep 14, 2018
    Purpose
    =======
    
    Currently if the method rating_get_parent is not overriden, then
    sending a rating on a record of the model leads to a traceback.
  2. [FIX] rating: Send rating if no override of rating_get_parent

    tivisse committed Sep 14, 2018
    Purpose
    =======
    
    Currently if the method rating_get_parent is not overriden, then
    sending a rating on a record of the model leads to a traceback.
Commits on Sep 10, 2018
  1. [MERGE] base: Revert #26831

    tivisse committed Sep 10, 2018
    Purpose
    =======
    
    The reified view removal makes sense from a functional point of view
    as it allows to customize the res.users configuration view.
    
    But this PR is also impossible to migrate efficiently as all the custom
    groups that are not defined on the res.users model and that are not included
    in the res.users view wont be displayed anymore.
    
    It is still possible to add the group by hand in debug mode, but actually it is
    not the clean workaround.
    
    This could be done again in a better way, for example by defining a new field
    like "UserGroup" and by allowing a easy customization with the Odoo Studio feature
    
    Specification
    =============
    
    - Remove the generic methods to define the user's group computed fields
    - Reintroduce the reified view
    - Keep the main interesting feature of the original PR: Display the user's type
      (Internal User, Public, Portal) as a selection field.
  2. [FIX] base: user fields_get no add group if asked

    tivisse and wpichler committed Sep 7, 2018
    The override of fields_get adds "virtual" fields corresponding to
    groups.
    
    If for example we make "res.users" have inherit "mail.thread", we get
    these "virtual" field as if they had "track_visibility", since we do a
    "fields_get" with fields having track_visibility expecting to only get
    back "track_visibility" ones.
    
    So the system would then fail trying to track visibility on fields like
    "in_group_5" and for example a res.users could not be created anymore.
    
    With this fix, we fix the fields_get so it respect the fields we ask of
    it.
    
    fixes #22332
    opw-1878654
    closes #22338
    closes #26705
    
    Co-authored-by: Wolfgang Pichler <wpichler@callino.at>
  3. [IMP] base: Display Internal Users/Portal/Public as a selection

    tivisse and jem-odoo committed Sep 6, 2018
    Co-authored-by: jem-odoo <jem@openerp.com>
  4. Revert "[IMP] base: Remove the reified view on 'groups_id' in res_use…

    tivisse committed Sep 6, 2018
    …rs' form"
    
    This reverts commit bd49f9f.
  5. Revert "[IMP] base: Remove unused module categories"

    tivisse committed Sep 6, 2018
    This reverts commit 382fbd3.
  6. Revert "[IMP] *: Define groups on res.users models"

    tivisse committed Sep 6, 2018
    This reverts commit 99f497b.
Older
You can’t perform that action at this time.