Skip to content
Snippets Groups Projects
  1. May 02, 2016
    • Denis Ledoux's avatar
      [FIX] hr_holidays: mail notification on leave request confirm · 341d9317
      Denis Ledoux authored
      The followers of the departments subscribed to the
      `Leaves/Allocations Confirmed` are supposed to
      receive a mail notification when an employee
      confirms a leave request.
      
      It was no longer the case since the below revision:
      2be1dfc1
      
      This revision subscribes the followers of the department
      following the `confirmed` subtype manually
      ,on the leave request confirmation, because
      `message_auto_subscribe` only works on fields for which
      the value is passed to the `create` or `write` methods,
      it doesn't work for related/computed fields
      This can be removed as soon as `department_id` on `hr.holidays` becomes a regular
      fields or as soon as `message_auto_subscribe` works with related/computed fields.
      
      opw-676521
      341d9317
    • Alexandre Fayolle's avatar
      [FIX] base: res.config default value on selection fields · 822966d2
      Alexandre Fayolle authored
      Since 3d8f7c2f, res.config support selection fields to set groups and install
      modules using a selection field instead of boolean.
      While the `module_*` fields are correctly casted from boolean to integers, it
      was not the case with `group_*` fields.
      
      This commit forces the conversion to get the expected field format value.
      
      Closes #10373
      Unverified
      822966d2
    • Christophe Simonis's avatar
    • Martin Trigaux's avatar
      [I18N] Update translation terms from Transifex · c89dc632
      Martin Trigaux authored
      Had a timeout on last sync
      Unverified
      c89dc632
    • Nicolas Martinelli's avatar
      [FIX] website_sale: set invoice address · 740d67a0
      Nicolas Martinelli authored
      When the user has several addresses, the call to the onchange method
      `onchange_partner_id` will overwrite the actual invoice address chosen.
      
      opw-675935
      740d67a0
    • Christophe Simonis's avatar
    • Holger Brunn's avatar
      [FIX] project: make copy overridable in v8 api · a4c4c43b
      Holger Brunn authored
      Without the proper decorator, the method is matched as `cr_ui_context`.
      This is because the `guess` mechanism expects a name `res_id` instead of
      `record_id`.
      For stability reason it is better to add the decorator than modify the signature
      of the method.
      Closes #11735
      Unverified
      a4c4c43b
    • Frederik Kramer's avatar
      [CLA] update signature of initos · d6563f91
      Frederik Kramer authored
      Changes due to changes in the legal form of the company
      Closes #11759
      Unverified
      d6563f91
    • Goffin Simon's avatar
      [FIX] sale_mrp, sale_stock: _get_anglo_saxon_price_unit with a kit · 3bcfac7d
      Goffin Simon authored
      When a kit is set with a valuation = "real_time" and invoice_policy = "delivery",
      the price unit of the kit computed for the Expense Account in the the journal of
      entries must be the sum of the average price of each component of this kit.
      
      Used case:
      
      Create a kit001 with:
      *General information:
         -Product Type=Stockable Product
         -Invoicing Policy=Delivered Quantities
         -Sale Price=100$
         -Cost Price=80$
      *Inventory:
         -Route=Manufacture
         -Internal Category=All/Sealable
      *its product category set with
         -Expense Account=210000 Cost of Goods Sold
         -Costing Method=Standard Price
         -Inventory Valuation=Perpetual(automated)
      *a bom of two components child001 and child002
      
      Create child001 with:
      *General information:
         -Product Type=Stockable Product
         -Invoicing Policy=Delivered Quantities
         -Sale Price=100$
         -Cost Price=70$
      *Inventory:
         -Route=Buy
         -Internal Category=All
      *its product category set with
         -Expense Account=210000 Cost of Goods Sold
         -Costing Method=Real Price
         -Inventory Valuation=Perpetual(automated)
      
      Create child002 with:
      *General information:
         -Product Type=Stockable Product
         -Invoicing Policy=Delivered Quantities
         -Sale Price=100$
         -Cost Price=10$
      *Inventory:
         -Route=Buy
         -Internal Category=All
      *its product category set with
         -Expense Account=210000 Cost of Goods Sold
         -Costing Method=Real Price
         -Inventory Valuation=Perpetual(automated)
      
      Create a SO with:
         -one line with the kit001
      
      Confirm the SO
      
      Validate the Delivery
      
      Create and view the invoices
         -per invoicable lines(deduct down payments)
      
      Validate the invoice
      
      Result:
      
      Before the fix: in the entry created for this invoice, the debit for the kit001 in Cost of Goods Sold
      was equal to 70 instead of 80.
      
      After the fix: the debit for the kit001 in Cost of Goods Sold
      was equal to 80(the sum of the average price of each component of the kit001).
      
      opw:674608
      3bcfac7d
    • Nicolas Martinelli's avatar
      [FIX] account_bank_statement_import_ofx: multiple accounts · 03a2b6ba
      Nicolas Martinelli authored
      An OFX file can contain more than one account. Therefore, we need to
      loop over all the included accounts, otherwise statements will be
      missed.
      
      opw-673814
      03a2b6ba
    • Christophe Simonis's avatar
    • Goffin Simon's avatar
      [FIX] account: sequence_id field in account.journal · 02371e88
      Goffin Simon authored
      The sequence_id field can be seen in debug mode but it cannot
      be edited.
      
      opw:676223
      02371e88
    • Aaron Bohy's avatar
      [FIX] mail: composer: escape RegExp pattern · 5cca1dcb
      Aaron Bohy authored
      to prevent crashes if the user types, e.g. a \, when mentionning someone.
      5cca1dcb
  2. May 01, 2016
  3. Apr 29, 2016
    • Raphael Collet's avatar
      [FIX] expression: fix missing results in direct search on many2many fields · ba5f5614
      Raphael Collet authored
      This case corresponds to searches like `[(field, 'ilike', name)]` where `field`
      is a many2many field.  The domain processing performs a `name_search` on the
      field's comodel, then makes the relation match the returned record ids.
      
      Problem: the call to `name_search` uses the default limit (100), and this makes
      the search return less results than expected.  Make the search complete by
      forcing `limit=None`.
      ba5f5614
    • Raphael Collet's avatar
      [FIX] fields: delay recomputations when setting a binary field in attachment · 39a0ae01
      Raphael Collet authored
      Setting a binary field stored in attachment may trigger recomputations on the
      main record before all fields are set on that record.  This may cause access
      errors if the record does not satisfy some access rule because of the fields
      that are not set yet.
      39a0ae01
  4. Apr 28, 2016
    • Quentin De Paoli's avatar
    • Raphael Collet's avatar
      [FIX] fields: filter result of 2many related fields with related_sudo · 233c7780
      Raphael Collet authored
      When traversing relational fields as superuser, you end up with a recordset for
      which only a subset is accessible to the current user.  An earlier fix to this
      issue completely dropped the `related_sudo` feature; change its implementation
      to keep the feature.
      233c7780
    • Yannick Tivisse's avatar
      [FIX] crm: remove lead kanban view · 4f7d0da9
      Yannick Tivisse authored
      Since the crm refactoring in V9, the stages doesn't make sense anymore on a lead,
      as this step is only to validate an opportunity. We should remove this view as it
      is confusing in this case : If I create a stage on the opportunity form view,
      it appears also on the lead kanban view. Other side effects can also be encountered.
      4f7d0da9
    • Goffin Simon's avatar
      [FIX] sale: Invoicing several SO with same partner and different invoice address · 93aed401
      Goffin Simon authored
      When invoicing several SO with same partner and with different invoice address,
      different invoices have to be created with each invoice address.
      
      Used case:
      
      -create a customer with two invoice addresses
      -create a SO for this customer with the first address
      -create a SO for this customer with the second address
      -select the two SO in the SO tree view
      -click on "Invoice Order"
      -click on "Create and view invoices"
      
      Results:
      
      Before the fix: The two SO are merged in one invoice with the second
      address.
      
      After the fix: Two invoices are created, one for the first address and
      one for the second address.
      
      opw:675961
      93aed401
    • Nicolas Martinelli's avatar
      [FIX] stock: missing picking_type_id field · 6c9d92d7
      Nicolas Martinelli authored
      The picking type is not defined on the stock move when a picking is
      created manually. This can cause errors, for example in manufacturing: a
      product sold in kit will not be replaced by its components.
      
      opw-673741
      6c9d92d7
  5. Apr 27, 2016
  6. Apr 26, 2016
Loading