Skip to content
Snippets Groups Projects
  1. Feb 23, 2021
  2. Feb 08, 2021
    • yhu-odoo's avatar
      [FIX]stock_account: don't show consumable in valuation report · 57695f82
      yhu-odoo authored
      
      In "Inventory Valuation", when click "Inventory at Date" then "confirm".
      Record for consumable products will be shown in the report.
      
      Previously fix in #62622 which disabled svl for consumable products,
      then rolled back in #63386 due to mrp need to create svl for consumables
      to analyse cost.
      
      In this commit, we add a domian filter to not show consumables in
      "Inventory Valuation"
      
      Task 2449211
      PR #65726
      
      Signed-off-by: default avatarArnold Moyaux <amoyaux@users.noreply.github.com>
      57695f82
  3. Jun 10, 2019
    • Simon Lejeune's avatar
      [REF] stock_account: remove old valuation code · 6fd05759
      Simon Lejeune authored
      The new code was sitting next to the old one, now that everything is
      adapted (minus the cost method changes), we can remove the old one.
      
      We also adapt the valuation wizard to use the stock valuation layer
      action, now that the others are removed.
      
      task-1875873
      6fd05759
  4. Jul 12, 2019
    • Arnold Moyaux's avatar
      [IMP] stock, stock_account: inventory at date · ec02ca91
      Arnold Moyaux authored
      
      Usability improvement because when the user click on inventory
      report it's mainly in order to edit/check its current stock since
      commit da33eb36
      
      This change redirect the user directly on stock.quant tree view
      and add an inventory at date button in the control panel. This
      button will open the same wizard than previously and ask for a
      date. The same principle is used for valuation layer.
      
      Co-authored-by: default avatarsvs-odoo <svs@odoo.com>
      
      Task: 1880379
      ec02ca91
  5. Jan 26, 2019
  6. Aug 20, 2018
  7. Jul 26, 2018
    • Prakash Prajapati's avatar
      [ADD] stock_account: search view improvement · 6fd5c5a8
      Prakash Prajapati authored
      inventory valuation search view was the product's one. This commit add new filters
      to the inventory valuation search view and removes the ones specific to products.
      
      It also rename the search view title to the same label as the menu action
      
      PR:22085
      TASK:38933
      6fd5c5a8
  8. Apr 18, 2018
    • Josse Colpaert's avatar
      [FIX] stock_account: valuation report needs company_owned in context · 8c64159b
      Josse Colpaert authored
      When calculating the stock_value of a product,
      the system will take into account all the locations
      that have this company as company.  (that way if owner_id
      is not set, the company_id on the location is the owner (virtual: not set))
      
      The Qty on Hand field takes into account however
      the quantities that are in the warehouses.
      
      This could lead to weird situations where the Quantity On Hand is 0
      and so the record is not shown, while the stock value is positive.
      (e.g. stock in Transit)
      
      In order to use the same logic for both fields, we pass company_owned=True
      in the context.
      8c64159b
  9. Apr 16, 2018
    • 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
  10. Nov 13, 2017
    • Arnold Moyaux's avatar
      [FIX] stock: wrong default date with inventory at date · 6b7ac1c5
      Arnold Moyaux authored
      When choosing inventory at specific date the default value
      is the start time of the server instead of the current time.
      
      When using fields.Datetime.now as default value, will set the function
      as default and future object will need to evaluate the funcion each time an
      object without default is created. fields.Datetime.now() will evaluate the
      function once at the server start and use the retun value as default value
      for future objects.
      6b7ac1c5
  11. Sep 25, 2017
Loading