Skip to content
Snippets Groups Projects
  1. May 11, 2016
  2. May 10, 2016
    • Denis Ledoux's avatar
      [FIX] google_calendar: do not copy user Google info · a0366b3a
      Denis Ledoux authored
      If a user syncs his calendar with Google,
      and a second user is created in the database by copying this first
      user, the Google information of the first user was copied
      (The Google account to sync, the token to use, the last
      syncrhonization date, ...), which is obviously wrong.
      
      On calendar syncrhonization, which can be done
      manually or automatically with the according cron, all
      events of the first user were created a second time,
      as a second user synchronized the same Google Calendar.
      
      opw-674141
      a0366b3a
  3. May 09, 2016
    • Denis Ledoux's avatar
      [FIX] account_anglo_saxon: default account value · 3954affc
      Denis Ledoux authored
      The default account value set for purchases invoices
      lines for product of type Service was wrong: It used
      the stock account, which is wrong as a Service
      as no stock. Instead, it should left the product
      expense account, as usual.
      
      opw-676110
      3954affc
    • Martin Trigaux's avatar
      [FIX] sale: outdated .pot file · 88749790
      Martin Trigaux authored
      Was having content of website_quote
      88749790
    • Raphael Collet's avatar
      [FIX] fields: invalidate x2many fields with a domain · 5676d812
      Raphael Collet authored
      Invalidate the cache of a x2many field when any of the fields appearing in its
      domain is modified.  Use the invalidation triggers mechanism for that purpose.
      5676d812
    • Denis Ledoux's avatar
      [FIX] google_calendar: user invited to one recurring event occurence only · 7923999f
      Denis Ledoux authored
      When a Google user was invited to one occurrence of a recurring event,
      but not to the recurring event itself (and the other occurrences, therefore),
      and the user owner of the recurring event did not sync his calendar in Odoo,
      the event occurrence could not be synced in Odoo, because it attempted
      to attach it to the parent/main recurring event, which was not present
      in Odoo.
      
      In such a case, Odoo now syncs the event occurrence as a simple classic
      event. In addition, if the owner of the event sync his calendar with Odoo
      afterwards, or if the user is invited later to the main/parent recurring event
      and then sync again his calendar,
      it then attach the event occurrence that was previously
      synced to this main event, to avoid events duplication.
      
      opw-676535
      7923999f
    • Nicolas Lempereur's avatar
      [IMP] web: multi-click on save on view form (no fp) · dd714ace
      Nicolas Lempereur authored
      When clicking on save several time when editing a view form it can be
      saved several times which can be an issue for one to many.
      
      The normal happenstance when saving should be as follow:
      
      -> save (click)
      -> wait write result
      -> received write result
      -> reload the form with updated data and updates buttons
      
      But when clicking several time, it could become:
      
      -> save (click)
      -> wait write result
      -> received write result
      -> save (click)
      -> wait write result
      -> received write result
      -> reload the form with updated data and updates buttons
      
      This commit only reinstate the saving feature once the form is reloaded.
      
      closes #11926
      opw-671793
      
      note: no need to forward-port
      dd714ace
  4. May 08, 2016
  5. May 06, 2016
  6. May 05, 2016
  7. May 04, 2016
  8. May 03, 2016
  9. May 02, 2016
  10. May 01, 2016
  11. Apr 29, 2016
    • Raphael Collet's avatar
      [FIX] expression: fix missing results in direct search on many2many fields · ba5f5614
      Raphael Collet authored
      This case corresponds to searches like `[(field, 'ilike', name)]` where `field`
      is a many2many field.  The domain processing performs a `name_search` on the
      field's comodel, then makes the relation match the returned record ids.
      
      Problem: the call to `name_search` uses the default limit (100), and this makes
      the search return less results than expected.  Make the search complete by
      forcing `limit=None`.
      ba5f5614
    • Raphael Collet's avatar
      [FIX] expression: fix missing results in direct search on many2many fields · c7baab67
      Raphael Collet authored
      This case corresponds to searches like `[(field, 'ilike', name)]` where `field`
      is a many2many field.  The domain processing performs a `name_search` on the
      field's comodel, then makes the relation match the returned record ids.
      
      Problem: the call to `name_search` uses the default limit (100), and this makes
      the search return less results than expected.  Make the search complete by
      forcing `limit=None`.
      c7baab67
  12. Apr 28, 2016
  13. Apr 26, 2016
    • Stefan Rijnhart's avatar
      [FIX] tools: export translated fields not included in _columns · 0c2f7bdb
      Stefan Rijnhart authored
      Non-stored new API computed fields are only defined in _fields
      but not in _columns, and they were never exported within translation
      files.
      
      Closes #9081
      0c2f7bdb
    • Christophe Simonis's avatar
      [FIX] calendar: correct search on mail.message and ir.attachment · 7e51d985
      Christophe Simonis authored
      Handle the case of immutable (tuple) domain leafs.
      7e51d985
    • Goffin Simon's avatar
      [FIX] account_asset: asset_create · d8121753
      Goffin Simon authored
      When creating assets from invoice lines, the system must check
      that assets have not already been created for the related invoice.
      If assets already exist then these assets have to be removed.
      
      Used case:
      
      - In the purchase journal, tick "allow canceling entries"
      - On a supplier invoice line, set an asset category
      - validate the invoice
      - cancel the invoice
      - set to draft
      - validate the invoice
      
      Before the fix: the asset is created twice.
      After the fix: the asset is created once.
      
      opw:674674
      d8121753
    • Nicolas Martinelli's avatar
      [FIX] website_sale: log if no pricelist · f5eae92f
      Nicolas Martinelli authored
      The pricelist field is not a mandatory field on the partner. A default
      value is usually defined for any new partner created. However, if the
      pricelist is manually removed from the partner, errors (tracebacks) will
      occur in the eCommerce when no pricelist is found.
      
      We cannot make the field mandatory, as it could potentially break the
      workflow of some users which are not using eCommerce. Therefore, we
      simply log an error message to help debugging.
      
      opw-673453
      f5eae92f
  14. Apr 25, 2016
  15. Apr 24, 2016
  16. Apr 22, 2016
    • Raphael Collet's avatar
      [FIX] models: fix *2many multi-onchange bug · 86d276b4
      Raphael Collet authored
      This fixes the case where the lines of a one2many field are modified several
      times by onchange methods: instead of retrieving the most recent updates, we
      merge them with former updates.
      
      This solution was written as an improvement of a proposal made by Alexis
      Delattre and Sébastien Beau as #11620.
      86d276b4
    • Martin Trigaux's avatar
      [FIX] orm: do not save empty translation as 'false' · fd7a7207
      Martin Trigaux authored
      When writting a value on a translatable field in a different language than
      English, the submitted *raw* value was saved in the database.
      
      This could cause the following issues:
      - empty value (provided as `False` by the web client) saved as the string
        'false' in the translations table
      - no encoding or sanitization convertion
      - ignore size parameter on the translatable field
      
      Process the submitted translation through symbol_set method to clean it before
      storing it blindly in the database.
      
      This allows to convert `False` into `''` for empty value and fixes #10862
      fd7a7207
    • Adrien Peiffer (ACSONE)'s avatar
      [FIX] account: Allow to select sale taxes in bank statement reconciliation... · 600f8845
      Adrien Peiffer (ACSONE) authored
      [FIX] account: Allow to select sale taxes in bank statement reconciliation process. Courtesy of adrienpeiffer. PR #11673
      600f8845
    • Levent Karakas's avatar
      [FIX] sale: untranslated label · 7c584d3e
      Levent Karakas authored
      attribute string is translatable on a search filter, not name (which is used as fallback label
      Closes #10419
      7c584d3e
    • Levent Karakas's avatar
      [FIX] mail: mail template translation · 9d445442
      Levent Karakas authored
      Do not match with source
      Closes #11789
      9d445442
  17. Apr 21, 2016
Loading