'This test will check that the state of the picking is correctly computed according
to the state of its move lines and its move type.'

def test_73_picking_state_partial_force_assign(self):

    picking_out = self.PickingObj.create({'partner_id': self.partner_agrolite_id, 'picking_type_id': self.picking_type_out, 'location_id': self.stock_location, 'location_dest_id': self.customer_location})
    picking_out.move_type = 'direct'
    self.MoveObj.create({'name': self.productA.name, 'product_id': self.productA.id, 'product_uom_qty': 2, 'product_uom': self.productA.uom_id.id, 'picking_id': picking_out.id, 'location_id': self.stock_location, 'location_dest_id': self.customer_location})
    picking_out.action_assign()
    self.assertEquals(picking_out.state, 'confirmed')
    picking_out.force_assign()
    self.assertEquals(picking_out.state, 'assigned')
