Skip to content
Snippets Groups Projects
  1. Apr 18, 2018
    • qsm-odoo's avatar
      [REF] setup: review dependencies · bf3193ac
      qsm-odoo authored
      Include libsass instead of node-less
      
      Thank you to @d-fence for testing this.
      bf3193ac
    • qsm-odoo's avatar
      [REF] *: <a/> elements do not need the oe_link class · 549f60b3
      qsm-odoo authored
      The 'oe_link' class is not linked to any style. The class is
      automatically converted to 'btn-link' for <button/> elements but this
      will not be done on <a/> elements as they are (nearly) unprocessed
      node during views rendering.
      
      Also there is minor difference between a '.btn-link' element and a
      <a/> element anyway (and maybe there should not be at all).
      549f60b3
    • qsm-odoo's avatar
      [IMP] web, *: do not use 'oe_highlight' and 'oe_link' class in the DOM · e88913bd
      qsm-odoo authored
      * test_main_flows
      
      The style of a primary/link button is given by the
      'btn-primary'/'btn-link' class. The old 'oe_highlight'/'oe_link'
      class should still be supported in views but not rendered in the DOM.
      e88913bd
    • qsm-odoo's avatar
      [REF] web: review button rendering · 374af562
      qsm-odoo authored
      Button rendering was most of the time wrong, incomplete or performed
      with duplicated code. This led to:
      - Both primary and default classes were put on some statusbar buttons
      - Icons were not able to be put for statusbar buttons
      - Stat buttons and list buttons code were duplicated
      - Classes and style were added twice
      - ...
      374af562
    • Jaykishan Solanki's avatar
      [IMP] account: Accounting Date on bank statement · 5ea27d47
      Jaykishan Solanki authored
      This commits adds a field on bank statement that will be used to force the creation of the accounting entries at this date instead of the bank statement date (in the same way than on invoices). This is useful if the accounting period in which the entries should normally be booked is already closed.
      This field is only visible in debug mode.
      
      Was PR #22441
      Was task 46892
      5ea27d47
    • Hetashree Chauhan's avatar
      [IMP] account: Correct term/amount information in aged receivable/payable. · e095733a
      Hetashree Chauhan authored
      Was PR #14820
      Was task: 28716
      e095733a
    • Christophe Matthieu's avatar
      [IMP] bus: properly restart longpoll when necessary · 1f5d65e7
      Christophe Matthieu authored
      Whenever we add or delete a channel in the bus/longpolling system, we
      want the long poll to restart immediately, to be able to receive the
      correct messages.
      
      Before this commit, we had to wait for the longpoll timeout to finish
      before receiving the correct messages.
      1f5d65e7
    • Christophe Matthieu's avatar
      [IMP] web: allow js code to abort xhr · 77e5b82b
      Christophe Matthieu authored
      We have a need to be able to abort a pending xmlhttprequest.  This is
      necessary for the longpoll system so it can restart properly.
      
      With this commit, we simply propagate the abort method from the jquery
      deferred to the deferred returned by the session rpc method.
      
      Note that this is not documented on purpose. The reason is that we do
      not want to commit on maintaining this feature.
      
      It is kind of awkward to have a deferred which can be aborted, but once
      it is chained, the abort feature is lost. So, for now, this will stay a
      lower level feature used exclusively for our needs.
      77e5b82b
    • dbh's avatar
      [IMP] account: support of filtering on partner (category) in reports · c58db317
      dbh authored
      This commit allow to filter easily on partners or partner categories in financial reports
      
      Was PR #23364
      Was task: 36626
      c58db317
  2. Apr 17, 2018
  3. Apr 16, 2018
  4. Apr 17, 2018
  5. Apr 16, 2018
    • Christophe Simonis's avatar
      aab09088
    • Christophe Simonis's avatar
      c92d43c0
    • Kirti Choudhary's avatar
      [FIX] sale: income account in invoice with down payments · aaadfd7d
      Kirti Choudhary authored
      When creating an invoice with 'Down payment' option for an SO, it should
      first consider income account of the 'Deposit Product'. if it does not
      have one then it should consider that product category's income account.
      
      Fixes #23100
      Task# 1819531
      aaadfd7d
    • Simon Lejeune's avatar
      [REM] stock_account: valuation stat button · b8133aa6
      Simon Lejeune authored
      Remove the valuation stat button as we say that from now on, to
      understand the current value of a product, you should go through the
      valuation ation and its stat button.
      b8133aa6
    • Simon Lejeune's avatar
      [REF] stock_account: valuation at date wizard · 352875a5
      Simon Lejeune authored
      We add the valuation at date wizard by re-using the quantity at date
      wizard and adding a context key to separate the both.
      
      The same view/action is used when openning the current or at date
      valuation, only the `to_date` context key is changed.
      352875a5
    • Simon Lejeune's avatar
      [REF] stock_account: support valuation at date · 3a828117
      Simon Lejeune authored
      For the standard and average cost method, we use `qty_available` at date
      and the `product.price.history` table.
      
      For FIFO, the normal way would have been to get the `qty_available` at
      date and value this quantity with the more recent IN moves at this date.
      
      But there's two main obstacles preventing to use this solution:
      - when editing a done move to change the quantity, the change is
        reflected at the date, the `qty_available` at date will be incremented
      - in the same usecase, the remaining_qty and remaining_value is
        incremented in place, which mean that even if the layer was already
        consumed, it's now appearing again at the bottom of the fifo layer
      
      Fixing this issue by adding a stock move at the date of today instead of
      editing in place in v11 and adding a proper "cost layer" model in master
      was deemed too complex as well as unnecessary by our bosses
      
      So we now say we continue to update in place, and when looking at the
      quantity at date
      - if periodic, we sum the value of the move since the beginning of times
      - if perpetual, we sum the balance of the account move lines since the
        beginning of times. Also, in this case, the quantity at date is
        computed across account move lines too, via the "quantity" field on
        aml.
      
      This commit adds three non stored computed field:
      - qty_at_date: will be computed across stock moves if fifo periodic and
        across account move line if fifo perpetual to reflect the design
        choice: if periodic, we *really* edit in the past ; if perpetual, no,
        the change is done at today's date
      - stock_fifo_real_time_aml_ids: the used aml to compute qty_at_date
      - stock_fifo_manual_move_ids: the used move to compute qty_at_date
      3a828117
Loading