Skip to content
Snippets Groups Projects
  1. Oct 01, 2015
    • Emanuel Cino's avatar
      [FIX] account: reconciliation domain · 34ce3e36
      Emanuel Cino authored
      During reconciliation wizard, the wizard tries to find the best match with
      exisiting unreconciled lines.
      When more than one line could be reconciled with the bank statement line, the
      oldest line was not selected.
      e.g.
      - statemement line: 10€
      - invoice 1: 10€
      - invoice 2: 10€
      - invoice 3: 5€
      
      The statement line was reconciled with the 5€ invoice instead of the first one.
      This was due to the domain not matching when the exact same amount was found.
      
      Sign CLA for compassionCH
      
      Closes #8767
      34ce3e36
    • Raphael Collet's avatar
      [FIX] ir_model_fields: fix and simplify update on custom fields · cca7a7a0
      Raphael Collet authored
      Avoid "patching" the registry, as this introduces inconsistencies (some field
      attributes are lost).  Instead, proceed as follows:
       - update the definition of custom fields in database;
       - clear the corresponding cache on the registry (this was missing);
       - setup the models in registry (this reloads the custom models and fields);
       - update the database schema of the models based on the registry.
      
      This makes the update of custom fields simpler and more robust.
      cca7a7a0
    • Mack's avatar
      [CLA] MackZxh sign the CLA · 3f31c378
      Mack authored
      closes #8783
      3f31c378
    • Goffin Simon's avatar
      [FIX] website_sale, website_sale_options: product_variant_ids in website_sale.modal · cf87d9b5
      Goffin Simon authored
      To show the website_sale.modal, the product_variant_ids must be in the DOM
      because all the prices are computed with the product_variant_ids.
      From commit 0ff26cf7
      
      opw:650167
      cf87d9b5
  2. Sep 30, 2015
    • Thorsten Vocks's avatar
      [CLA] Big Consulting GmbH · e0f4f8a7
      Thorsten Vocks authored
      Signed through OPW 650573
      e0f4f8a7
    • Stéphane Bidoul's avatar
      [FIX] account: Analytic account domain in reconcile with writeoff wizard · e11490c3
      Stéphane Bidoul authored
      The domain for the analytic account in the `reconcile with writeoff` wizard
      should be based on the `type` field, which must be `view`,
      not on the `parent_id` field, as it's done everywhere else
      (e.g. in the supplier invoice form).
      
      `[('parent_id', '!=', False)]`
      and
      `[('type', '!=', 'view')]`
      is almost the same, but the second domain is more appropriate.
      
      Closes #4562
      e11490c3
    • Denis Ledoux's avatar
      [FIX] sale: use default_get to define the invoice journal · 4c901f8a
      Denis Ledoux authored
      When creating the invoice of a sales order, from the sales order
      (`Create invoice` button on the sale order),
      the journal used for the invoice was forced
      with a specific domain. Besides, the only reason the journal
      is forced is to check there is a sale journal for the
      quotation company, and raise a warning if not.
      This check was added in 1578c285.
      
      This prevented to use the user defined defaults,
      (`Set defaults` in the `debug` menu)
      to set a different default journal per user.
      
      Using the `default_get` instead solves this issue,
      as it uses first the user defined defaults. Besides,
      if no user defined defaults are set, it then uses
      the default value set in the field definition, which
      in this case returns the same journal then the forced
      domain mentioned above, the domain used being the same.
      
      There is therefore no change of behavior, while giving
      the possibility to use the user defined defaults.
      
      Fixes #8786
      4c901f8a
    • Miku Laitinen's avatar
      9a3b7119
    • Ludwik Trammer's avatar
      [FIX] doc: Change one last instance of `date_end` to `date_stop` · c87daaec
      Ludwik Trammer authored
      References to `date_end`
      were previously corrected to `date_stop`,
      in revision 98bd6732,
      but one of them was missed.
      
      Closes #4463
      c87daaec
  3. Sep 29, 2015
  4. Sep 28, 2015
  5. Sep 27, 2015
  6. Sep 25, 2015
  7. Sep 24, 2015
Loading