Skip to content
Snippets Groups Projects
  1. Mar 13, 2019
  2. Mar 12, 2019
    • Nicolas Lempereur's avatar
      [FIX] website_sale_comparison: no compare variant=False · fa455292
      Nicolas Lempereur authored
      
      When comparing product, there was already an exceptions that would not
      list the attributes if they were only "create_variant=False" type.
      
      But if we mix attribute create_variant False or not on a product, we
      could get an error.
      
      With this changeset, create_variant=False attribute are ignored also
      when mixed with create_variant=True attributes.
      
      opw-1946361
      closes #31680
      
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      fa455292
  3. Mar 11, 2019
    • Rémi Rahir's avatar
      [FIX] website_sale: filter fiscal positions on company v2 · 49ca43d7
      Rémi Rahir authored
      
      Sequel of cc54194e.
      The mentioned fix only worked when the user was public.
      
      The problem arises when calling the function `_get_fpos_by_region()`
      in `sudo` without specifying the company and this happens, for instance,
      in every `onchange_partner_*` function of a sale order.
      
      We propose to add the `force_company` key in the context of the sale
      order to ensure the right company when selecting the fiscal position.
      
      closes odoo/odoo#31751
      
      Signed-off-by: default avatarRémi Rahir (rar) <rar@odoo.com>
      49ca43d7
    • Yoshi Tashiro's avatar
      [FIX] l10n_jp: wrong user type, add accounts · 084246a5
      Yoshi Tashiro authored
      
      - Fixes incorrect user type assignments on some accounts
      - Fixes incorrect account assignments on taxes
      - Adds a few accounts that Japanese companies would typically need
      - Changes some account codes to make the structure more consistent
      - Updates descriptions of some taxes to make them appear more natural
        on PDF reports
      
      closes odoo/odoo#30780
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      084246a5
  4. Mar 08, 2019
  5. Mar 13, 2019
  6. Mar 08, 2019
    • Christophe Simonis's avatar
      ecd8c023
    • Christophe Simonis's avatar
      [IMP] base,account: unmute logger · e5f93b83
      Christophe Simonis authored
      Since 8da3750c, logger does not need to
      be muted anymore.
      
      This reverts commits c3764265 and
      1693a27f.
      e5f93b83
    • Lucas Perais (lpe)'s avatar
      [FIX] web: record datapoint context without group_by or orderedBy · 6b676f62
      Lucas Perais (lpe) authored
      
      Have a list view, apply a group_by and a filter with a sort parameter
      
      Click on one record to access the form view
      Have a x2m within it
      
      Before this commit, the x2m records were loaded with a context containing
      the keys orderedBy and group_by
      It seems harmless at first, but even conceptually those keys should not be here
      - they apply on a list of records, and not to individual ones
      - they may contain field names not existing in the x2m model
      Hence, when accessing another list view through an action button, the list
      will try to be orderedBy or group_by with the given context
      Which is plain wrong in the first place and may cause crashes
      
      After this commit, the context of a record datapoint (representing a single record)
      is stripped from the keys
      
      Read the opw for a concrete use case
      OPW 1943583
      
      closes odoo/odoo#31706
      
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      6b676f62
  7. Mar 12, 2019
  8. Mar 08, 2019
  9. Mar 07, 2019
  10. Mar 06, 2019
  11. Mar 05, 2019
  12. Mar 04, 2019
Loading