dsh-credativ has proposed merging 
lp:~derek-sheridan/credativ-openerp/addons-5.0 into 
lp:credativ-openerp/addons-5.0.

Requested reviews:
  Craig Gowing (credativ) (craiggowing)

For more details, see:
https://code.launchpad.net/~derek-sheridan/credativ-openerp/addons-5.0/+merge/97248

filtered assigned dispatches from new moves dispatch form
-- 
https://code.launchpad.net/~derek-sheridan/credativ-openerp/addons-5.0/+merge/97248
Your team credativ is subscribed to branch lp:credativ-openerp/addons-5.0.
=== modified file 'stock_dispatch/stock_dispatch.py'
--- stock_dispatch/stock_dispatch.py	2012-02-09 12:24:38 +0000
+++ stock_dispatch/stock_dispatch.py	2012-03-13 15:54:17 +0000
@@ -32,7 +32,7 @@
     _rec_name = 'id'
     _columns = {
         'stock_moves': fields.one2many('stock.move', 'dispatch_id', 'Stock Moves', select=True,
-                        domain=[('state', '=', 'assigned'), ('picking_type', '=', 'out')], readonly=True, states={'draft':[('readonly',False)]}),
+                        domain=[('state', '=', 'assigned'), ('picking_type', '=', 'out'), ('dispatch_id', '=', False)], readonly=True, states={'draft':[('readonly',False)]}),
         'carrier_id': fields.many2one('res.partner', 'Carrier', required=True, select=True, readonly=True, states={'draft':[('readonly',False)]}),
         'complete_uid': fields.many2one('res.users', 'Completed User', readonly=True),
         'complete_date': fields.datetime('Completed date', readonly=True),

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

Reply via email to