Skip to content
Snippets Groups Projects
  1. Apr 27, 2020
    • Andrea Grazioso (agr-odoo)'s avatar
      [FIX] point_of_sale,pos_cash_rounding: fix change error popup on checkout · 08ceeaf8
      Andrea Grazioso (agr-odoo) authored
      
      Configure your POS with bank payment method only
      Make a sale with rounding necessary (i.e. 1,29€)
      The amount will be rounded. Go through the payment screen.
      
      Error message will appear because no payment methods available is
      capable of handling the change, but this is not necessary since we are
      rounding.
      
      Splitting the code to add a more specific condition in pos_cash_rounding
      fix the issue
      
      opw-2239946
      
      closes odoo/odoo#50216
      
      X-original-commit: 6131534da2d3a3bf75529b32f2061d58e925b365
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      08ceeaf8
  2. May 04, 2020
  3. Apr 30, 2020
  4. Apr 29, 2020
    • Olivier Dony's avatar
      [FIX] doc/deploy: add recommendations for firewall rules · 4310ba32
      Olivier Dony authored
      
      In some situations it is important to protect the Odoo service from
      direct access from the internet, or to protect internal network
      resources from the Odoo server itself.
      
      This is heavily dependent on deployment requirements, and for standard
      installations on a public cloud system, this may not be necessary.
      Yet it seems useful to mention it in the deployment recommendations,
      as it may not be obvious to our users.
      
      Our thanks to Ameya Darshan for raising this concern!
      
      closes odoo/odoo#50422
      
      X-original-commit: da0d9ef4
      Signed-off-by: default avatarPaul Morelle <madprog@users.noreply.github.com>
      4310ba32
  5. May 04, 2020
  6. Apr 30, 2020
    • jvm-odoo's avatar
      [FIX] web: fix can't open date picker on graph views · a7ee8bc7
      jvm-odoo authored
      
      Issue
      
      	- Install CRM
      	- CRM > Reports > Activities
      	- Add a custom filter > Created on
      	- Select the date
      
      	You can't, the date picker is not shown
      
      Cause
      
      	Actually, the date picker is shown but
      	very quickly and it is closed by a scroll
      	event thrown by Chart.js.
      
      Solution
      
      	Close the date picker only if the user
      	scrolls manually.
      
      OPW-2245019
      
      closes odoo/odoo#50482
      
      X-original-commit: bda32005
      Signed-off-by: default avatarJason Van Malder (jvm) <jvm@odoo.com>
      a7ee8bc7
    • qho's avatar
      [FIX] base: fix "Original Bill" when file is image · f1fcc805
      qho authored
      
      1. Create an invoice and upload a picture file as the only attachment
      2. Try to print "origin bill" for the invoice (From the invoice tree
      view select one and click print > origin bill )
      
      An error will raise "PIL.PdfParser.PdfFormatError: trailer end not found".
      Fixing by using another BytesIO object as the output.
      
      opw-2244625
      
      closes odoo/odoo#50469
      
      X-original-commit: 378551193d8199cfab13b06a48aa706f420a7823
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      f1fcc805
    • jbw's avatar
      [FIX] account_analytic_default_hr_expense : fix _onchange_product_id · 4566cf2e
      jbw authored
      
      _onchange_product_id() used to always (re)set hr_expense analytic_account_id & analytic_tag_ids to default values.
      Or set those to false if no default values are found.
      Installing account_analytic_default_hr_expense made odoo/addons/hr_expense/tests/test_expenses.py tests fail
      
      - changed function name (no need to be a _onchange_product_id override)
      - removed super() & return
      - only set default value to var if var is False
      
      closes odoo/odoo#50456
      
      Task: 2205544
      X-original-commit: 1c41c90b
      Signed-off-by: default avatarQuentin De Paoli (qdp) <qdp@openerp.com>
      Signed-off-by: default avatarjbw-odoo <jbw-odoo@users.noreply.github.com>
      4566cf2e
    • Nicolas Lempereur's avatar
      [FIX] website: menu translation on website · 5f7de622
      Nicolas Lempereur authored
      
      Currently, the menu are only translated for installed language when we
      create a new website.
      
      When we create a new menu (eg. by installing a module) or install a new
      language we will only translate menu without website_id set, so the menu
      are not translated.
      
      With this changeset, we try to match translation of menu without
      website_id to menu with website_id when translations are updated:
      
      - when a language is installed/updated
      - when a module is installed/updated
      
      Without the changeset, the added test would fail with:
      
      - "Menu in english" != "Menu en français"
        Load translation add missing translation from template menu
      
      - "Menu in french" != "Menu en français"
        Load translation with overwriting update existing menu from template
      
      fixes #43365
      opw-2209864
      closes #48031
      
      closes odoo/odoo#50498
      
      X-original-commit: 998987f8ee148235f4025eb97a424e838ac6fc9f
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      5f7de622
  7. Apr 29, 2020
    • Xavier Morel's avatar
      [FIX] base: translations when dev-mode is enabled · e72c6093
      Xavier Morel authored
      
      When computing the `arch` from the arch_db, the field gets translated
      as a matter of course as `arch_db` is a stored field with a
      translation method. This means `arch` is assumed to be in the proper
      language in the cache.
      
      However when reading from the filesystem (dev=xml) this is not the
      case, and the view XML ends up untranslated.
      
      Fix the issue by applying the translation function from arch_db onto
      the stuff we got from the filesystem.
      
      Note: under the assumption that we *do not* want to store translated
      archs in arch_db, explicitly set the lang to None when resetting
      views.
      
      Task 2059557
      
      closes odoo/odoo#50389
      
      Signed-off-by: default avatarXavier Morel (xmo) <xmo@odoo.com>
      e72c6093
  8. May 01, 2020
    • DramixDw's avatar
      [IMP] website: simplify website menu · 9b982941
      DramixDw authored
      
      Some apps, once installed, automatically create a menuitem in website.
      What complexify the UI and create useless menu withtout plusvalue.
      
      It is not because you install livechat to make support online, that you want
      a link in your menu to show stats e.g.
      
      Now we remove the default menu created, and help user to find it when he create
      a link. The autocomplete suggest most of the main App's controllers
      
      task-2189613
      
      closes odoo/odoo#49081
      
      Related: odoo/enterprise#9733
      Signed-off-by: default avatarJérémy Kersten (jke) <jke@openerp.com>
      9b982941
    • DramixDw's avatar
      [REM] website,*: remove About us page and references · 52c23e01
      DramixDw authored
      Remove the default about us page because it could be easily recreated and
      doesn't add a lot of value to the website.
      
      task-2189613
      52c23e01
  9. Apr 30, 2020
Loading