Skip to content
Snippets Groups Projects
  1. Feb 20, 2017
    • Jose Suniaga [Vauxoo]'s avatar
      [FIX] l10n_cr: wrong reference in partners titles · 03bb76d3
      Jose Suniaga [Vauxoo] authored
      When installing costa rican localization the partners titles has
      a wrong reference to base module that cause a warning messge in
      server log. In total the localization had 8 partners titles that
      not exists in base which was removed the reference and another 2
      that exists in base but not had any difference.
      
      Courtesy of Vauxoo.
      
      Closes #15495
      Unverified
      03bb76d3
  2. Feb 17, 2017
  3. Feb 16, 2017
    • qsm-odoo's avatar
      [FIX] web: properly handle implicit "&" operator in domain selector · 5df7552c
      qsm-odoo authored
      In saas-14, domain selector widgets are supposed to be instanciated
      with a valid domain.
      
      The problem is that some valid domains were wrongly evaluated. Indeed,
      when receiving a domain which does not begin by an operator, the
      "DomainTree" widget considered there is an implicit "&" operator that
      should be used. This is not enough. Indeed, when evaluating the domain
      ["|", A, B, C], there is also an implicit "&" despite the fact the
      domain starts with an operator ("|"). Because of that, previous
      implementation interpreted this domain as ["|", A, "&", B, C] while
      it should have been interpreted as ["&", "|", A, B, C].
      
      Note: in master the parsing will be improved to handle wrong domains
      and be decoupled of the DomainTree widget.
      5df7552c
  4. Feb 15, 2017
  5. Feb 14, 2017
  6. Feb 13, 2017
    • Denis Vermylen's avatar
      [FIX] pos_sale: make dashboard work in all languages · f212afc1
      Denis Vermylen authored
      The POS Sales Channel performs a read_group, then transforms the date
      strings to datetimes, which failed when the language wasn't English.
      
      Also fixes the formatting issue where week numbers weren't the same
      between read_group and datetime by using en_GB as default lang.
      (which is closer to ISO-8601 dates standards than en_US)
      f212afc1
    • Mehul Patel's avatar
      [FIX] sale: Set a default pricelist setting if `multi_sales_price` enabled · 5d2079b1
      Mehul Patel authored
      Purpose:
      --------
      
      In settings, When we enable pricelist then it should enable first option by default.
      5d2079b1
    • amoyaux's avatar
      [FIX] sale, website_sale: enterprise symbol in settings · 2ac3d7b5
      amoyaux authored
      In the sale settings view, the field company research hasn't
      the enterprise symbol though the related module is in enterprise.
      It's the same problem for the Company Research option in the website
      admin settings.
      
      Both field declaration use a string attribute in the label tag.
      but it is needed to use a "for" attribute. The Upgrade widgets only
      put the "enterprise" span after the enterprise label, wich is found
      by looking on node having a for attribute with "module_ " and its value.
      
      This commit use an attribute "for" instead of the attribute "string"
      in the label declaration.
      2ac3d7b5
    • Denis Vermylen's avatar
      fc80be92
    • qsm-odoo's avatar
      [FIX] web: change selected field value on chain shortening · 134db4ce
      qsm-odoo authored
      Before this commit, when opening a field chain with a field selector
      and only removing parts of it, the field selector internal "chain"
      value was properly updated but not its "selectedField" value.
      134db4ce
  7. Feb 10, 2017
  8. Feb 09, 2017
    • Nicolas Martinelli's avatar
      [FIX] mrp: crash onchange · 3f16ed9e
      Nicolas Martinelli authored
      In a MO, change a product in "Consumed Materials" by clicking on "Search
      more...". It crashes.
      
      Clicking on "Search more..." triggers the onchange since it empties the
      line. Since there is no product on the line anymore, it crashes.
      
      opw-705644
      3f16ed9e
    • Freeman Helmuth's avatar
      [FIX] doc: CentOS spelling · 800a4b67
      Freeman Helmuth authored
      Closes #15408
      800a4b67
  9. Feb 08, 2017
    • Joren Van Onder's avatar
      [FIX] point_of_sale: properly round taxes with round_globally · 0556bc6d
      Joren Van Onder authored
      When tax_calculation_rounding_method is configured to round_globally the
      compute_all method of account.tax will not round the taxes based on the
      currency. The result of the compute_all function is used when creating
      the tax parts of a pos.order account.move.
      
      Taxes are aggregated per session, so 2 orders with orderlines in them
      with the same tax will turn into 1 single tax account.move.line. To
      correctly handle round_globally, we round all tax values we have after
      processing each order.
      
      Fixes #14672
      Fixes #14673
      Unverified
      0556bc6d
    • Denis Ledoux's avatar
      [FIX] account: register payment with payment, invoice and company having different currencies · 00cf1808
      Denis Ledoux authored
      In revision fc813847,
      `_compute_total_invoices_amount()` was assumed to
      give the invoice residual within the company currency but,
      in the case the payment_currency is different than the company_currency,
      it returns the amount in the payment currency.
      
      In this case, we actually need the total invoices residual
      within the company currency.
      00cf1808
    • Denis Ledoux's avatar
      [FIX] account: invoice/payment reconciliation with a change of rate · 85b71441
      Denis Ledoux authored
      The amount of the invoice in the payment currency was wrongly
      computed when a change of rate in the invoice currency occured between
      the invoice date and the payment date,
      when the invoice currency was neither the company currency
      nor the payment currency.
      
      e.g.
      Company in USD. Exchange rates:
      
          07/02   08/02
      HKD 7.0     8.0
      EUR 0.90    0.94
      
      Invoice: 100,000 HKD, date 07/02, worthing 100,000 / 7 = 14285,71 USD
      Payment: 13000 EUR, date 08/02, worthing 13000 / 0,94 = 13829,79 USD
      
      The invoice amount within the invoice currency was computed:
      100,000 / 8 * 0.94 = 11750€
      While the invoice, at the time of the invoice date, worth actually
      14285.71 * 0.94 = 13428,57€
      
      When the invoice, payment and companies are all different,
      the invoice amount in the payment currency must not be computed from
      the amount in the invoice currency computed at the invoice date
      to the payment currency, since the rate of the invoice currency
      changed, and the amount in the invoice currency at the time
      is no longer the same today.
      
      In simple words, `amount_currency` of the invoice
      was computed using the 7.0 rate
      e.g. 100,000 / 7 = 14285,71
      while, when the rate changes, computing from the invoice currency to
      the payment currency, which are both different than the company currency
      it will first convert the amount to the company currency, using the new rate:
      e.g. 100,000 / 8 = 12500€
      and then convert to the payment currency:
      e.g. 12500 * 0.94 = 11750€
      
      opw-640248
      85b71441
    • Goffin Simon's avatar
      [FIX] stock: Inventory adjustments in multi company · bd017143
      Goffin Simon authored
      When making an inventory adjustment in multi company,
      the default location_id was all the time taken from
      'stock.warehouse0' even if the user was not allowed to read
      the warehouse. Inspired from _get_default_location in pos_config.py
      
      Backport of 8955d15e
      
      opw:706704
      bd017143
    • mge-odoo's avatar
      [FIX] openerp: quote read_group SQL query for case sensitive tables · 8cb13c4e
      mge-odoo authored
      In SQL, if there is no quote around the table/field, the result will
      be returned as case insensitive.
      
      This was causing a bug in the kanban view which was not displaying
      the records because x_AA_count was named x_aa_count.
      8cb13c4e
    • Simon Lejeune's avatar
      [FIX] stock_calendar: do not edit context in place · 7b2bc90d
      Simon Lejeune authored
      This method receives a new api context and thus should not change it
      directly. The stock scheduler didn't run because of this.
      
      opw 704764
      7b2bc90d
    • Goffin Simon's avatar
      [FIX] crm_partner_assign: The field "Level Name" was not translatable · b8b1d1d0
      Goffin Simon authored
      The field "Level Name" must be translateble.
      
      opw:706486
      b8b1d1d0
Loading