** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/903262

Title:
  [Delivery] Missing ondelete attribut on fields grid_id

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Hello.
  I use the last version of delivery module in addons.
  When I try to delete a "delivery pricelist", it raise me an error 
"IntegrityError: null value in column "grid_id" violates not-null constraint"
  The problem is that the attributs oncascade is missing on the field "grid_id" 
of the object "delivery_line_id"

  File delivery/delivery.py

  -        'grid_id': fields.many2one('delivery.grid', 'Grid',required=True),
  +        'grid_id': fields.many2one('delivery.grid', 'Grid',required=True, 
ondelete='cascade'),

  Have a nice day

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/903262/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to