Skip to content
Snippets Groups Projects
  1. May 26, 2016
  2. May 25, 2016
    • Denis Ledoux's avatar
      [FIX] account: invoice onchange partner accounts properties · aedd0251
      Denis Ledoux authored
      Since revision 7eab8e26
      the `_onchange_partner_id` of `account.invoice` failed
      if the SUPERUSER created an invoice for another company
      than his own, and if the partner had not a specific
      receivable or payable account (meaning the default
      accounts are used, the accounts coming from the properties
      of this company without any partner specified)
      because
      ```
      prop.search([
                   ('name', '=', 'property_account_receivable_id'),
                   ('company_id', '=', company_id)
                  ])`
      ```
      can return multiple records, if several partners
      have their own receivable accounts set, and,
      since the above revision,
      `get_by_record` specify `ensure_one`, meaning
      you cannot pass multiple records to this method.
      
      This domain was built a the time
      (2009, rev. 80861660)
      to handle the multi-company property,
      which can now be handle with a simple `force_company`
      passed in the context. It was not the case at the time.
      
      This revision could be applied in former releases,
      but this is not a necessity. This is a necessity
      in saas-10, because of the above revision.
      
      opw-678536
      aedd0251
    • Adrien Dieudonne's avatar
      [FIX] mail: mutiple read more · bd9fc146
      Adrien Dieudonne authored
      A read more was added to every node having a mail-quote tag.
      However all quotes and their child nodes are tagged, leading to numerous unnecessary read more / read less.
      Now, all consecutive mail-quote are joined in one 'read more/read less'.
      bd9fc146
  3. May 24, 2016
  4. May 23, 2016
  5. May 22, 2016
  6. May 20, 2016
  7. May 19, 2016
    • Martin Geubelle's avatar
      [FIX] mail: typo · 91acf0ab
      Martin Geubelle authored
      This `,` at the end creates a tuple and `if (False,)` will be evaluated to True.
      This leads to invalid `Notification Email`.
      
      Hum..
      91acf0ab
    • Nicolas Lempereur's avatar
      [FIX] web: download file and editor firefox bug · 3b234a23
      Nicolas Lempereur authored
      When we download a file (as can be done with attachments in Odoo),
      firefox is opening the link in current window but cancel the action once
      it is aware the resource is to be downloaded.
      
      But this get firefox into a corrupt state for some contenteditable
      features, for example document.queryCommandState which is needed for the
      editor will after downloading a file throw an error consistently instead
      of working as expected.
      
      It can be reproduced on firefox (at least from version 32 to 46) with
      the following snippet:
       https://jsfiddle.net/s246u3ay/3/
      
      The issue is probably linked to the following reported issue since 2005:
       https://bugzilla.mozilla.org/show_bug.cgi?id=297494
      
      This commit avoid the bug by opening attachments download links in a new
      window instead of the current one.
      
      closes #12109
      opw-676918
      3b234a23
    • Jérome Maes's avatar
      [IMP] doc : add python idioms and odoo specific coding guidelines · dfcbcb02
      Jérome Maes authored
      - add python idioms
      - odoo specific guidelines (for ORM, translations, ...) inspired from old guidelines v6.0
      - some other best pratices
      dfcbcb02
    • Jérome Maes's avatar
      [IMP] doc : expand the coding guidelines · b04d6e0a
      Jérome Maes authored
      - correct typos
      - clarify some points, according to the community comments
      - precise the xml notation : record tag vs act_window/menuitem/... tags
      - add organization of report, wizard, data/demo, ... (directories and naming conventions)
      - new conventions for 'symbols'
      - ...
      
      Thanks to @rim-odoo for its grammar extremist review, and @tde-banana-odoo for our long debates about wizard conventions.
      b04d6e0a
    • Nicolas Martinelli's avatar
      [FIX] web: company logo file extension · 03c032ec
      Nicolas Martinelli authored
      The company logo file extension is always '.png', even if the logo is of
      another type such as 'jpg' or 'gif'. This is not an issue for decent
      browsers, but IE might not display the image under specific
      circumstancies, e.g. in combination with nginx.
      
      opw-676836
      03c032ec
    • Martin Trigaux's avatar
      [FIX] hr_holidays: missing context · e3523113
      Martin Trigaux authored
      Closes #9386, opw-677958
      Unverified
      e3523113
Loading