Skip to content
Snippets Groups Projects
  1. Nov 26, 2014
  2. Nov 25, 2014
  3. Nov 24, 2014
    • Martin Trigaux's avatar
      [FIX] product: creation of reference uom · 4ce7af35
      Martin Trigaux authored
      Set a default value for factor when creating a new uom.
      Could not create a new UoM with type reference (if creates a reference uom, no need to pass a factor).
      
      Change the readonly filter to (type = bigger) to make the field writable for reference uom.
      This is needed to force the reset of the factor when switching of type (onchange_type).
      As the field was readonly, kept the old value for factor.
      4ce7af35
  4. Nov 19, 2014
    • Denis Ledoux's avatar
      [FIX] mrp: perform location chaining for kit exploded moves · 529e920b
      Denis Ledoux authored
      This rev. 73072272 ensured to not (re-)set the state 'confirmed' to exploded moves with a more advanced state (for instance, 'assigned')
      Nevertheless, the location chaining is performed on the move confirmation, through the action_confirm method of the stock.move model. Besides, the resulting moves of the _action_explode method had the state 'confirmed' on creation, the 'confirmed' state wasn't set by the method 'action_confirm', meaning that the moves were confirmed without having the location chaining done. Allowing moves to go through the action_confirm method even if the state was 'confirmed' or further triggered the location chaining.
      
      Preventing already confirmed moves to go through the action_confirm method prevented the location chaining, thus.
      
      We now create the resulting moves with the 'draft' state, and then confirm them through the procurement workflow signal 'button_confirm'. Thus, the resulting moves are confirmed by going through the action_confirm method, writing the confirmed state and triggering the location chaining at the same time. We then write the 'assigned' state if necessary.
      
      opw-617235
      529e920b
  5. Nov 18, 2014
  6. Nov 14, 2014
    • Denis Ledoux's avatar
      [FIX] web: date autocompletion should not harcode 'date' · 922a52dc
      Denis Ledoux authored
      But should use date or datetime according to the widget type
      
      This fix is related to 69d60465
      922a52dc
    • Martin Trigaux's avatar
      [FIX] purchase: keep PO currency on picking · 0a7633c1
      Martin Trigaux authored
      The delivery of a purchase order was not keeping the currency and cost price
      from the purchase order for the reception. This was problematic for orders where
      the invoice was generated from the picking (Invoicing Control: Based on incoming
      shipments). The currency of the purchase order was kept while the cost was the
      one in the company's currency.
      It's better to keep the currency of the purchase order to make the invoice as
      it's usually the one expected (and not convert everything to the currency of the
      company). opw 615555
      0a7633c1
    • Denis Ledoux's avatar
      [FIX] web: do not set the one2many dirty on field validation · da15c9d2
      Denis Ledoux authored
      This rev. 06104ba5
      
      Added the dirty flag on the o2m field when the editor of the editable list was enabled (meaning that the editable list has been altered)) because the dirty flag was not set correctly by the one2many during the edition, at the time.
      
      It looks like this is now the case
      
      Besides, as now, we valid all the editable list of the form, wether or not the editable list was altered, we must not set the o2m as dirty anymore.
      da15c9d2
    • Denis Ledoux's avatar
      3613b74d
    • Denis Ledoux's avatar
      [FIX] product: more accurate name_search · 5b2f13ab
      Denis Ledoux authored
      First, name_search searches on default_code, then, if the limit is not reached, it searches on the product name
      The results found from the default code search must be removed from the search domain when doing the search on the product name, to avoid having results already found by the search on the default_code
      
      opw-618015
      5b2f13ab
    • Martin Trigaux's avatar
      [FIX] stock: multicompany reception · cf488682
      Martin Trigaux authored
      When a picking is confirmed, the generated account.move(.line) should take the
      company, accounts, journals and period with the same company as the picking,
      not the one of the current user.
      
      This was problematic if a user in a company confirm a picking linked to
      a purchase order done in another company.
      For real time valuations, the generated accounting entries were mixing both
      companies.
      
      Fixes #3466
      cf488682
    • Martin Trigaux's avatar
  7. Nov 13, 2014
  8. Nov 12, 2014
  9. Nov 10, 2014
    • Martin Trigaux's avatar
      [FIX] project_timesheet: accept work without date · ab5ecef4
      Martin Trigaux authored
      date field on a project.task.work is not required while it is on the hr.analytic.timesheet (with default value).
      Avoid error if fill a task work without date, fallback on context_today.
      ab5ecef4
    • Martin Trigaux's avatar
      [FIX] mrp: prevent suppression of bom if used in mo · e27afc13
      Martin Trigaux authored
      The field bom_id is required on a manufacturing order and deleting a mrp.bom would block the current mo.
      Restrict the suppression for manufacturing order in progress.
      Fixes #3417
      e27afc13
    • Dhruti Shastri's avatar
      [FIX] project_timesheet: missing timesheet for tasks without project · c200ffd7
      Dhruti Shastri authored
      Timesheet activities (hr.analytic.timesheet) are generated when a work activity (project.task.work) is logged on a task.
      These are updated if the project of the task is modified.
      This patch applies the same behaviour for tasks without project, the timesheet activities are generated once a project is set on the task.
      To avoid redundency in the code, extract the computation in a distinct method.
      Fixes #701, opw 609481
      c200ffd7
  10. Nov 06, 2014
  11. Nov 05, 2014
  12. Nov 04, 2014
Loading