Skip to content
Snippets Groups Projects
  1. Jul 10, 2014
  2. Jul 08, 2014
    • Martin Trigaux's avatar
      [FIX] orm: better removal of custom m2m fields · 84e9a67c
      Martin Trigaux authored
      orm: do not try to create ir.model.relation for custom m2m as self._module is either empty (for custom models), either the one of the last inheriting module (which is wrong). The field should be removed manually and should not be impacted by the uninstallation of modules. The removal of the relation table can be done when removing manually the custom field (see rev 6af3193d).
      
      ir.model: when removing a model, drop the table with the CASCADE instruction. This will remove left constraints from remaining m2m tables.
      This means that dropping a table (either manually removing a custom model or uninstalling a module) will not drop the relation table for a custom m2m field. This is not ideal but better than the previous behaviour (which was to fail the DROP TABLE instruction and keep the table with a few columns and unconsistent data).
      84e9a67c
    • Martin Trigaux's avatar
      [FIX] ir.model.fields: better unlink · 6af3193d
      Martin Trigaux authored
      When droping a column, remove also the relation table in case of custom m2m field.
      The relation table needs to be dropped otherwise an unremovable constraint to the targetted table is kept (and anyway is not needed anymore).
      6af3193d
  3. Jul 07, 2014
  4. Jul 06, 2014
  5. Jul 04, 2014
  6. Jul 03, 2014
  7. Jul 02, 2014
  8. Jul 01, 2014
  9. Jun 29, 2014
  10. Jun 27, 2014
  11. Jun 26, 2014
  12. Jun 25, 2014
    • Richard Mathot's avatar
      [REM] Bazaar leftovers... · 63f12773
      Richard Mathot authored
      63f12773
    • Martin Trigaux's avatar
      [FIX] base_action_rule: more flexible wrapper signature · 60ec3004
      Martin Trigaux authored
      Some objects (e.g. account.move.line) have a different signature than the classical 'cr, uid, ids, vals, context=None' and may add extra arguments.
      This fix allows to create rules on these objects and still pass the valid arguments.
      (opw 609204)
      60ec3004
    • Dharti Ratani's avatar
      [FIX] account: add multicompany rule to account.subscription.line · df6b37c4
      Dharti Ratani authored
      The wizard to generate recurring entries did not respect multicompany rules as the request was done in plain sql.
      Add ir.rule and use the orm (opw 607782)
      df6b37c4
    • Denis Ledoux's avatar
      [FIX] purchase_requisition: duplicated stock moves · dee96992
      Denis Ledoux authored
      When a purchase requisition is created from a procurement order, a first stock move is created, not associated to any purchase orders
      Then, on purchase order creation and confirmation, in the purchase requisition, new stock moves are created, associated to the purchase order.
      The existing stock move issued from the procurement order which created the purchase requisition remained untouched, leading to wrong inventory values
      To fix this, the destination location of the stock move of the procurement order is written on the source location
      A proper fix should be to use a dedicated workflow for puchase requisition, but this can't be done in 7.0, it has to be done in master/trunk
      dee96992
    • Alexandre Fayolle's avatar
      [FIX] fields property: do not create empty properties · 4bfcbb2a
      Alexandre Fayolle authored
      fixes #595
      In the case where a property for the company exists but has no related record (e.g. in case of type m2o with no defined value), not setting a value to this field for a new record would create a new property (as browse_null is not an instance of browse_record)
      4bfcbb2a
    • Thibault Delavallée's avatar
      Merge pull request #725 from odoo-dev/7.0-bug-1235237-ypa · 50871bb4
      Thibault Delavallée authored
      [FIX] crm_claim: copy: reset stage + add a copy marker to the name
      50871bb4
  13. Jun 24, 2014
Loading