~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to delivery_mechanism/test/delivery_mechanism-process-split-same-qty.yml

  • Committer: Matthieu Dietrich
  • Date: 2012-07-10 14:12:40 UTC
  • mfrom: (913 unifield-wm)
  • mto: This revision was merged to the branch mainline in revision 935.
  • Revision ID: mdietrich@chloups211-20120710141240-celi3o016fqz7mj1
UF-881: [MERGE] merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
          split_obj.write(cr, uid, split_ids, {'quantity': 1}, context=split_c)
103
103
        # we perform the split
104
104
        split_obj.split(cr, uid, split_ids, context=split_c)
105
 
      
 
105
 
 
106
    wiz_obj.copy_all(cr,uid,[dic['res_id']], context=dic['context'])
106
107
    wiz_obj.do_incoming_shipment(cr, uid, [dic['res_id']], context=dic['context'])
107
108
    data = self.read(cr, uid, in_ids, ['state'], context=context)[0]
108
109
    assert data['state'] == 'done', 'the incoming shipment is not Done - done - %s'%data['state']
136
137
    # all qty must be empty
137
138
    assert not a_qty, 'Quantity for product A is not empty - %s'%a_qty
138
139
    assert not b_qty, 'Quantity for product B is not empty - %s'%b_qty
139
 
    
 
 
b'\\ No newline at end of file'
 
140