Skip to content
Snippets Groups Projects
  1. Jan 16, 2015
  2. Jan 15, 2015
  3. Jan 14, 2015
    • Martin Trigaux's avatar
      [FIX] delivery: reset delivery info on duplicate/backorder · f4068476
      Martin Trigaux authored
      The tracking reference and other delivery references are not relevant to
      duplicated pickings. Overwrite copy to remove carrier_tracking_ref, volume and
      number_of_packages.
      
      Add fallback on stock.picking.in and out to use copy method of stock.picking.
      
      For partial delivery, the duplicated picking is the delivered order and
      the existing picking is the backorder of the delivery (why so much hate?).
      This means we have to switch the delivery info between the backorder and
      the delivered picking.
      Combo opw 615593 and 618802
      f4068476
    • Christophe Simonis's avatar
    • Simon Lejeune's avatar
    • Denis Ledoux's avatar
      [FIX] mrp: prevent creating production lines when testing if production is of product type · 30a7bea0
      Denis Ledoux authored
      The method test_if_product, used in the workflow to test that the mrp production is for a product (!= service), used to call the method _action_compute_lines in order to compute the production lines and determine from them the production type.
      
      The thing is, the method _action_compute_lines, despite the fact it returns the lines of the production, actually creates the lines. So, just to test if the production was of product type, the productin lines were created, in database.
      
      This rev. introduces a _prepare_lines method, which returns the computed production lines, without actually creating them in database, so the test_if_product method can test if the production is of product type without creating the production lines.
      
      Therefore, production lines are now computed and created during the action_compute method, instead of computing them when the production was tested to get the production type.
      
      Computing the lines before the action_compute has as side effect to not set the scheduled date of the work orders in module mrp_operations, at MO confirmation (as, on confirmation, the action_compute method is called only for productions for which the lines are not yet computed, and mrp_operations overide action_compute to set the scheduled date)
      
      opw-620189
      30a7bea0
    • Nicolas Seinlet's avatar
      [IMP] point_of_sale: faster loading of pos session · 35a061eb
      Nicolas Seinlet authored
      name_get of pos.category should use a browse instead of a read.
      For a company having thousands of products and a few categories, using a browse
      will greatly improve the load time as it is cached.
      35a061eb
    • Denis Ledoux's avatar
      [FIX] hr_timesheet_sheet: prevent sheets overlaping · ccb4e433
      Denis Ledoux authored
      The constraint prevent sheets to overlap was broken because it relies on a check on the
      user_id.  The problem is that the latter uses an old-api function field
      that is not recomputed yet at the time of the validation.  The fix consists in
      using a non-computed field instead.
      
      This rev. is related to:
       - 4fb9c8f0
       - 6c785419
      
      Closes #4217
      opw-620175
      ccb4e433
    • Xavier Morel's avatar
      [CHG] Fix task 7536 / PR #499 differently · 8c3d71cc
      Xavier Morel authored
      Issue was the propagation of contextual values across actions, more
      precisely conserving the selected fiscal year when selecting an account
      from the chart of accounts tree view: the chart of accounts tree view is
      generally opened for a specific fiscal year, and it seemed sensible that
      opening an account would show only the journal items for the previously
      selected fiscal years rather than all items ever.
      
      PR #649 altered action.read by tentatively evaluating the action's
      context, however this has the side-effect of providing evaluated
      contexts when creating or editing actions via the UI, usually breaking
      them in the process (as the context at this point is basically
      nonsensical for the action's purpose).
      
      This backs out the previous fix, and creates a fix restricted to the
      tree view's JS (thereby removing the feature for window actions not
      invoked from a tree view).
      
      closes #4677, closes #4690
      8c3d71cc
    • Michiels Denis's avatar
      [IMP] Update themes.rst · c5929c3f
      Michiels Denis authored
      Attempt to fix and clarify the guide.
      
      I still can not get "Advanced Customization" to work.
      
      closes ##4291
      c5929c3f
    • Akash Balar's avatar
      [FIX] mrp : skip lines not within date range specified on BOM · 70a51cd7
      Akash Balar authored
      As date_start and date_stop are date field and not datetime, should use
      DEFAULT_SERVER_DATE_FORMAT for search. opw 619592
      70a51cd7
  4. Jan 13, 2015
Loading