Skip to content
Snippets Groups Projects
  1. Aug 22, 2016
  2. Aug 20, 2016
  3. Aug 19, 2016
  4. Aug 18, 2016
    • Martin Trigaux's avatar
      [I18N] update saas-10 translations by merging 9.0 and master · 2331bbf4
      Martin Trigaux authored
      1. export saas-10 sources terms into .pot files
      2. msgcat odoo-9 .po & odoo-master .po into saas-10 .po files
      3. msgmerge saas-10 .po with saas-10 .pot files to keep relevant terms
      Unverified
      2331bbf4
    • Pierre Masereel's avatar
      [FIX] stock: stock_warehouse resupply warehouse · 36359f8d
      Pierre Masereel authored
      * bad creation of a dictionnary with the dictionary comprehension syntax.
        correction of the syntax.
      36359f8d
    • Goffin Simon's avatar
      [FIX] stock: action_done with moves with pack operation · acc7449d
      Goffin Simon authored
      When action_done is called with moves without pack operation, the pickings
      linked to the computed moves must be in state done and the date_done must
      be set on each picking.
      
      opw:685145
      acc7449d
    • Damien Bouvy's avatar
      [FIX] stock,purchase: stop shortening picking type names · 08ed48e2
      Damien Bouvy authored
      In purchase, a special key is set in the context to simplify the name
      of the picking type: instead of the normal name, only the name of the
      warehouse is used. This is problematic if more than one incoming picking
      type exists for a given warehouse, as it prevents you from being able to
      differentiate them. Asking users to modify the view to remove the
      context key seem a bit too much to ask for something that should be
      simple.
      
      It is my understanding that this was implemented only for cosmetic
      reasons, but I am willing to assume that having to select
      "YourCompany: Delivery Orders" instead of simply
      "YourCompany" for people who only have one picking type should not
      be too disruptive or obscure.
      
      opw-685751
      Unverified
      08ed48e2
    • Goffin Simon's avatar
      [FIX] warning: Products with Blocking Warnings can still be added to Sales Orders · c0bb312a
      Goffin Simon authored
      Like in 8.0 when adding a product with a blocking message in a SO line, a warning
      message must be raised and the product is not added.
      
      opw:685928
      c0bb312a
    • Goffin Simon's avatar
      [FIX] base: Individual contact gets Company icon · 0bfcf652
      Goffin Simon authored
      Steps to reproduce:
      - Create a contact (Company).
      - Create a "child" in this company.
      - Select "Contact" as type of address.
      - Create an individual child of the company.
      
      Bug: instead of having the Individual icon (Human being), it gets the
      Company icon (Building).
      
      Fix: the behavior must be the same as in 8.0, the avatar must be used
      for a contact which is not a company.
      
      opw:683105
      0bfcf652
    • Goffin Simon's avatar
      [FIX] account_asset: asset depreciation with refund · c844534f
      Goffin Simon authored
      When an asset is created from a refund invoice, the negative amount
      must be taken into account to create the depreciation moves.
      
      opw:685630
      c844534f
    • qsm-odoo's avatar
      [FIX] web_editor: keep all debug values for FieldTextHtml · baef529c
      qsm-odoo authored
      Commit 89a4774c changed the kwargs
      debug value of the FieldTextHtml controller to let it be equal to
      "assets" instead of True or False. The problem is that an empty string
      was considered True before the commit and False afterwards.
      
      In fact, the original code was wrong and the debug value should equal
      the already processed kwargs debug value in the HttpRequest object.
      Indeed, the kwargs.debug value is equal to the URL value while the
      request.debug value is already processed and is only one of the 3
      values: None, True or "assets".
      baef529c
    • Nicolas Lempereur's avatar
      [FIX] mass_mailing: body editor with translation · 06fdc2a6
      Nicolas Lempereur authored
      Since a324b22d, the mass mailing body editor would:
      
      - save english body in language Y if user had language Y,
      - not allow to edit translations in another language
      
      This is due to how html_translate is set as translation function of html
      only if the field is set as sanitize==True.
      
      closes #13196
      opw-685629
      06fdc2a6
  5. Aug 17, 2016
    • Damien Bouvy's avatar
      [FIX] project_issue_sheet: hide timesheets tab on issues w/o project · 037a152d
      Damien Bouvy authored
      Since it is not possible to create a timesheet entry on a issue without a
      project_id, the timesheets page in the form view should be hidden if no
      project is set.
      
      This prevents the user from trying to create a timesheet entry on the
      issue and receive a not so transparent message like:
      mandatory field is not set: [object with reference: account_id - account.id]
      Unverified
      037a152d
    • Nicolas Martinelli's avatar
      [FIX] mrp: duplicate product code · 354017b8
      Nicolas Martinelli authored
      The BOM Structure report shows the product code twice.
      
      opw-684520
      354017b8
    • Raphael Collet's avatar
      [FIX] base: extrapolate table name on uninstall for ir_model_constraints · d3287157
      Raphael Collet authored
      When uninstalling a module, the model *may* be removed from the registry
      before the removal of the model constraints; to prevent crashing in
      those cases, a simple replace('.','_') on the model name should allow to
      obtain the table name in these cases.
      Unverified
      d3287157
    • Nicolas Martinelli's avatar
      [FIX] website_form: traceback when sending an attachment · 19e556b3
      Nicolas Martinelli authored
      The form builder offers the possibility to add a "Custom File Upload"
      field. When the user clicks on "Send", an error occurs ("An error has
      occured, the form has not been sent.").
      
      This is because we try to send a mail linked to "mail.mail", which
      doesn't make sense.
      
      The case was actually taken into account in the code, there was just an
      oversight in the code.
      
      opw-684040
      19e556b3
    • Cédric Snauwaert's avatar
      [FIX] account: optimize the bank reconciliation widget + add of a button to... · 5b4404f6
      Cédric Snauwaert authored
      [FIX] account: optimize the bank reconciliation widget + add of a button to auto-reconcile instead of auto-reconciling directly when opening the widget.
      
      * This new button is a behavior change, but this is needed for big databases with a lot of statement lines to process. Indeed, in that case we prefer to load the widget as soon as possible and thus let the user process the lines manually or click on that button (but at that time he knows why it takes time).
      * Opimization of various method in order to speed reconciliation and view opening : added indexes, direct use of sql queries...and also removed the code that was looping on open debit/credit to propose a sum of entries to match the statement line's amount, because it was a little greedy and wouldn't give accurate results most of the time.
      5b4404f6
    • Denis Ledoux's avatar
      [FIX] web: fix DataSetSearch to avoid race conditions · 8787476b
      Denis Ledoux authored
      This is a following of revision
      ab8a93c8
      
      This revision solves a new case:
      when quickly performing a second search
      after one which has not been resolved yet in a kanban view, and the second
      search is resolved before the first, it was not possible to load the form
      by clicking the card of the kanban, it leaded to a
      `Could not find id in dataset` web client error
      
      This was because the ids of the dataset were altered with
      the ids of the first search (the one that lasted longer), while
      the records displayed were the ones of the second search
      (the one that finished first)
      
      opw-682362
      8787476b
    • Cédric Snauwaert's avatar
      [FIX] account: fix several problem related to exchange rate entries. Was PR #13162 · cda132bb
      Cédric Snauwaert authored
      When an exchange rate entries was created, fields `exchange_move_id` and `exchange_partial_rec_id` were not set on account_full_reconcile. which implies that when unreconciling entries we had the exchange rate entry that was not reconciled with its reversal move.
      
      Another problem fixed is an infinite recursion loop that occured when trying to unreconcile entries with a `full_reconcile_id` and an exchange rate entry that is reconciled with more than one journal item. In that case, the unlink() of account.partial.reconcile has to be done before trying to reconcile the exchange rate entry with the reverse move otherwise as the exchange rate entry is still reconciled with another aml, `amount_residual_currency` is not correct and hence the program tries to create another exchange rate entry and loops.
      cda132bb
    • Martin Geubelle's avatar
      [FIX] purchase: fiscal position in multi-company environments · 5fce7847
      Martin Geubelle authored
      Properties depends on with which companies the records
      are browsed.
      
      When retrieving the fiscal position as sudo (from a cron), we should force
      the company from the context.
      
      After https://github.com/odoo/odoo/commit/4162b8f as the context is force in get_fiscal_position,
      we should call this method with a company (and not pass the company in the context).
      This has been forgot in https://github.com/odoo/odoo/commit/fe92dea
      
      opw-684802
      5fce7847
    • Nicolas Martinelli's avatar
      [FIX] base_import: error message · 717ca339
      Nicolas Martinelli authored
      During the import of a file, if the connection is closed (timeout,
      server shutdown...), a traceback appears.
      
      This is because `error.data.arguments` is not defined in this case.
      
      opw-682104
      717ca339
    • Martin Trigaux's avatar
      [FIX] account: update outdated account.pot file · 907f9554
      Martin Trigaux authored
      Fixes #13149
      Unverified
      907f9554
    • Nicolas Martinelli's avatar
      [FIX] hr_expense: remove duplicated code · b8225250
      Nicolas Martinelli authored
      opw-685933
      b8225250
    • Martin Trigaux's avatar
      [FIX] hr_expense: update the outdated .pot file · 48366920
      Martin Trigaux authored
      Fixes #13149
      Unverified
      48366920
    • Christophe Matthieu's avatar
      [FIX] web_editor: keep debug value in FieldTextHtml · 89a4774c
      Christophe Matthieu authored
      Since the debug value can now equals "assets" instead of just being
      able to be true or false, the debug value of FieldTextHtml had to be
      adapted too.
      89a4774c
    • Goffin Simon's avatar
      [FIX] account_voucher: unreconcile with deleted journal items · 3846d35d
      Goffin Simon authored
      Inspired from e2d16ea0
      
      When cancelling a voucher from a customer payment receipt,
      the voucher lines linked to the deleted account move lines
      have to be updated by clicking on button "unreconcile".
      
      opw:683258
      3846d35d
Loading